We have been using the model derivative api endpoints to extact data from forge but are currently having issues extracting meta data when uploading specifically Revit files.
Our process goes:
Auth
Upload a model in chunks https://developer.api.autodesk.com/oss/v2/buckets/{bucketKey}/objects/{objectName}/resumable
Create upload job https://developer.api.autodesk.com/modelderivative/v2/designdata/job
Get translation the process https://developer.api.autodesk.com/modelderivative/v2/designdata/{encodedUrn}/manifest
Get the object from the forge https://developer.api.autodesk.com/modelderivative/v2/designdata/{encodedUrn}/metadata
Current we are we receive a 200 response from step 5 with and empty meta information so we cannot extract anything.
When we load the 3D viewer (versions 6.0 and 4.0) the viewer calls the https://developer.api.autodesk.com/derivativeservice/v2/manifest/
When
"messages": [ { "type": "error", "code": "Revit-UnsupportedFileType", "message": "<message>The file is not a Revit file or is not a supported version.</message>" }, { "type": "error", "message": "Possibly recoverable warning exit code from extractor: -536870935", "code": "TranslationWorker-RecoverableInternalFailure" } ],
It was converted from an ifc format if that helps in any way. We have tried this file in 360 and in forge with both revit and ifc before and translation has worked. I can provide a urn also.
As reported by @Glenit, it was missing some pieces on the resumable upload. For reference, this answer points out some samples on it.
1.4m articles
1.4m replys
5 comments
57.0k users