I have a strange problem with the Autodesk Forge Model Derivative API. When getting properties for an object, using the :urn/metadata/:guid/properties endpoint, I sometimes get a 404 response with this text:
{"diagnostic":"Model should be translated to SVF first"}
The model is uploaded as an IFC, and it's definitely translated to SVF.
Here's an example request that failed:
curl -H "Authorization: Bearer <token>" https://developer.api.autodesk.com/modelderivative/v2/designdata/dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6OTliYzRhNTUtNzM5My00ZTc0LTg5YjEtMTE4ODNhYWNjYjFhLnByb2plY3RzLmFwcC5pbWVyc28uY29tLzIwMjEtMDEtMjFUMTE6MjY6MDMlMkZESUhfUklCLmlmYw/metadata/29a39a8b-7ff3-42c3-9dfe-471e3ae0677d/properties?objectid=889
I have discovered that if I send the same request but without specifying the objectid
, something seems to get fixed. After that, new requests like the one above succeed. However, I don't know how long a "fix" like that lasts, and I'd rather not go through this routine every time to be able to get properties for a single object.
Who can help?