Autodesk TranslationWorker-InternalFailure

Autodesk TranslationWorker-InternalFailure

尝试使用 POST https://developer.api.autodesk.com/viewingservice/v1/register 翻译 this file 时,我收到以下错误:

{
            "guid" : "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6c3RlbW4vNTkxY2U3NzAzNzFhMjEwMmM3MWQwMTgzLXhwZm92YWltMjY5NmN1M2lyZXcya2UyOS5pcHQ",
            "success" : "0%",
            "hasThumbnail" : "false",
            "progress" : "complete",
            "urn" : "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6c3RlbW4vNTkxY2U3NzAzNzFhMjEwMmM3MWQwMTgzLXhwZm92YWltMjY5NmN1M2lyZXcya2UyOS5pcHQ",
            "status" : "failed",
            "startedAt" : "Thu May 18 05:39:58 UTC 2017",
            "region" : "US",
            "owner" : "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6c3RlbW4vNTkxY2U3NzAzNzFhMjEwMmM3MWQwMTgzLXhwZm92YWltMjY5NmN1M2lyZXcya2UyOS5pcHQ=",
            "type" : "design",
            "children" : [
                {
                    "guid" : "aa85aad6-c480-4a35-9cbf-4cf5994a25ba",
                    "messages" : [
                        {
                            "type" : "error",
                            "message" : "Translation failure",
                            "code" : "TranslationWorker-InternalFailure"
                        }
                    ],
                    "name" : "LMV Bubble",
                    "hasThumbnail" : "false",
                    "role" : "viewable",
                    "version" : "2.0",
                    "progress" : "complete",
                    "urn" : "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6c3RlbW4vNTkxY2U3NzAzNzFhMjEwMmM3MWQwMTgzLXhwZm92YWltMjY5NmN1M2lyZXcya2UyOS5pcHQ",
                    "status" : "failed",
                    "type" : "folder"
                }
            ]
        }

导致 TranslationWorker-InternalFailure 错误的原因是什么?如果要弃用此 v1 api,应该改用什么? https://developer.api.autodesk.com/modelderivative/v2/designdata/job api?

对于给您带来的不便,我们深表歉意,View and Data API(众所周知的 v1 API)计划于 2017 年 7 月 17 日关闭。因此,您应该开始迁移您的应用程序从视图和数据 API(v1) 到 Forge API(v2),通过 here.

查看更多详细信息

但是,我尝试翻译您通过 Data Management and the Model Derivative 的 API 提供的模型,我得到了一个翻译良好的模型,没有任何错误消息。我得到的结果是这样的:

查看器上的结果:

以下是 Forge API 迁移的一些提示:

  1. 上传文件到存储桶:{ApiEntryPoint_URL}/oss/v1/buckets/{BucketName}/objects/{Filename} => {ApiEntryPoint_URL}/oss/v2/buckets/{BucketName}/objects/{Filename}
  2. 请求模型翻译工作:{ApiEntryPoint_URL}/viewingservicev1/register => {ApiEntryPoint_URL}/modelderivative/v2/designdata/job
  3. 查看翻译状态:{ApiEntryPoint_URL}/viewingservicev1/{base64URN}/status => {ApiEntryPoint_URL}/modelderivative/v2/designdata/{base64URN}/manifest