Search code examples
autodesk-forge

AutoForge Drawing object not displying


We have integrated AutoForge API in web application using demo account. All APIs works as expected, but after some time duration stored drawing objects are not displayed in bucket.

Please share the reason for such behavior & what is the solution ?

Following are the APIs we have Used:

  1. Generate Token api/forge/oauth/token

  2. List of bucket api/forge/oss/buckets

  3. Create bucket api/forge/oss/buckets

  4. Receive a file from the client and upload to the bucket api/forge/oss/objects

  5. Delete bucket api/forge/oss/buckets/delete

  6. Delete objects api/forge/oss/objects/delete

  7. Export Data api/oauth/export/{urn}/{guid}/{objectid}


Solution

  • There is different bucket's data Retention Policies.

    When creating a bucket you must specify the data retention policy. In some tutorials the default policy is transient which means all models inside the bucket are deleted after 24 hours.