0

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

{
            "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/jobapi ?

4

1 回答 1

2

对于给您带来的不便深表歉意,View and Data API(即 v1 API)计划于 2017 年 7 月 17 日关闭。因此,您应该开始将您的应用程序从 View and Data API(v1) 迁移到 Forge API (v2),通过此处查看更多详细信息。

但是,我尝试通过Data ManagementModel Derivative的 API 翻译您提供的模型,并且翻译得很好,没有任何错误消息。我得到的结果是这样的: Blade_main_result

查看器上的结果: Blade_main_Viewer

以下是 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
于 2017-05-18T06:32:34.490 回答