问题
I’m trying to integrate Forge viewer with my sample application and facing some issues.
Below are the steps I tried to achieve my goal.
Registered an app by creating a new account and generated “client ID” and “secret key” (success).
Generate Oauth token for further API calls (success).
- Create a new bucket storage (success).
- Upload model to the bucket and create URN for the model (success).
- Design data for model translation (this is the step where our uploaded model will be translated to SVF) (success).
- Check status of translated file. (success response but with error message as given below).
"messages": [ { "type": "error", "code": "Revit-UnsupportedFileType", "message": "The file is not a Revit file or is not a supported version." }, { "type": "error", "message": "Possibly recoverable warning exit code from extractor: -536870935", "code": "TranslationWorker-RecoverableInternalFailure" } ],
Any help would be highly appreciated.
回答1:
Are you able to upload & view the file using the public viewer? If so, most likely your upload routine (step 4) is corrupting the file. In this case, are you using resumable upload?
Samples for resumable upload:
- C#
- Nodejs
来源:https://stackoverflow.com/questions/51782071/forge-revit-unsupportedfiletype