Forge - Revit-UnsupportedFileType

久未见 提交于 2019-12-11 17:05:24

问题


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.

  1. Registered an app by creating a new account and generated “client ID” and “secret key” (success).

  2. Generate Oauth token for further API calls (success).

  3. Create a new bucket storage (success).
  4. Upload model to the bucket and create URN for the model (success).
  5. Design data for model translation (this is the step where our uploaded model will be translated to SVF) (success).
  6. 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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!