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.
dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6Ymltc3VwcGx5LXNwYWNlcy1kZXYvNWM2YzM3YWQyNWNiNDBkYjljY2MwZWIxZTdjNWZkODdDcmF3Zm9yZF9Mb2dpc3RpY3NfSGFsbC5ydnQ
360 URN - is eitherdXJuOmFkc2sud2lwcHJvZDpmcy5mb2xkZXI6Y28uNTlFWTFFdGhRdjZ4T2hLY25weG9jUQ
ordXJuOmFkc2sud2lwcHJvZDpkbS5saW5lYWdlOlJDS0xsdElvUlo2Q1NPZ0RkZEk2SFE
Both were part of the url (can provide this as well if needed). After investigation we can see that the translation endpoints returns "failed" as well. We hadn't captured this previously. – Glenit