1

The short version: I have uploaded a DWFX file into the Autodesk Platform Services. I can view the 3D model in that file using APS Viewer, and I can view its object tree and object properties through the menu popup inside APS Viewer.

However, when I try to retrieve the object tree for the same file using an API call, I receive the error 404 {"diagnostic":"Failed to query the data."}. The same operation worked a few weeks ago, and I can read the object tree for files that I uploaded earlier.

Also, when I use https://oss-manager.autodesk.io/ to view my uploaded files, I get the same result: the file is present and viewable in the APS Viewer pane, but the page cannot read its object tree.

The question: Is there a way for me to diagnose the problem? Did something change in the Autodesk APS API recently? Can I get help with the specific file?

Some details: I use two methods to read the object tree from APS:

  1. A .Net 9 application using the Autodesk.ModelDerivative package version 2.2.0 from nuget.org . The call to ModelDerivativeClient.GetManifestAsync() is successful, then I get the view Guid from the retrieved manifest and call ModelDerivaticeClient.GetObjectTreeAsync(). This call returns the error "Failed to query the data".

This application worked fine until a few weeks ago, but I am not able to name the exact date when it broke.

  1. Direct REST API calls using curl, following the documentation at https://aps.autodesk.com/en/docs/model-derivative/v2/reference/http/ . These calls produce the same result as the .Net application: all calls to find the file and retrieve its manifest are successful, but the call to https://developer.api.autodesk.com/modelderivative/v2/designdata/{urn}/metadata/{modelGuid} fails with "Failed to query the data".

The bucket region is US. The balance of flexi tokens is positive. The file status (the "job" status) in APS is completed. I tried using a different file - with the same error result.

The application (and the sequence or API calls) worked successfully until recently and has not changed since. This is why I am not providing any code snippets here - if you feel that a snippet would help, please shout out.

Again, the questions are: how can I diagnose the problem with my files? Has something changed on the APS side that could break the object tree? Is there a (fresh!) example of uploading a file into APS and retrieving its object tree?

5
  • Could you provide a DWF file that can be used to reproduce the behaviour on our side? Commented Sep 18 at 13:34
  • @AdamNagy sorry, the files I work with are proprietary and cannot be publicly shared. If you know of a sample DWFX file that I can download and try, I'll be happy to do so. Note - it's about 3D DWFX files, not 2D drawings. My question is primarily about diagnostics: now that I have an uploaded file that throws an error on the Autodesk side - is there any way to get information about what is wrong with it? Commented Sep 19 at 7:17
  • (1) Check the manifest of the file to see if there are any errors (2) try to run the translation again (force the translation) provide us with the base64 urn of the file so we can check if there is any more info (3) you're free to google any DWFx files for testing but this is one of the files I tested with github.com/adamenagy/Container/blob/master/House.dwfx Commented Sep 22 at 9:08
  • @AdamNagy, thank you for the reply. I tried to add a comment to the ADN support request - please let us know if that did not work. To the OP: (1) the file manifest is good, and the file's 3D model is displayed in the APS Viewer; (2) when I force the translation with x-ads-force: true, the response turns to {"result":"success"} for a few hours (meaning it's in progress) and back to error 404. Commented Sep 22 at 23:56
  • Looks like it's an issue with SVF2 translation - SVF works fine. Looking into this ... Commented Sep 24 at 9:24

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.