伪造-Revit-UnsupportedFileType [英] Forge - Revit-UnsupportedFileType

查看:184
本文介绍了伪造-Revit-UnsupportedFileType的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将Forge Viewer与示例应用程序集成,并且遇到一些问题。

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. 通过创建新帐户并生成客户端ID和秘钥(成功)来注册应用。

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

生成用于进一步API调用的Oauth令牌(

Generate Oauth token for further API calls (success).

消息:
[
{
type:错误,
代码: Revit-UnsupportedFileType,
消息:该文件不是Revit文件,也不是受支持的版本。
},
{
type:错误,
message:可能从提取程序中恢复的警告退出代码:-536870935,
code : TranslationWorker-RecoverableInternalFailure
}
],

"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" } ],

任何帮助将不胜感激。

推荐答案

您可以上传&使用公共查看器查看文件?如果是这样,则很可能是您的上传例程(第4步)损坏了文件。在这种情况下,您使用的是可恢复上传吗?

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?

可恢复上传的示例:

  • C#
  • Nodejs

这篇关于伪造-Revit-UnsupportedFileType的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆