当我们上传.rvt文件时,总是收到错误消息“ TranslationWorker-InternalFailure”。该文件没有损坏,我们已经检查了

时间:2019-12-02 09:34:37

标签: autodesk-forge

{     “ type”:“清单”,     “ hasThumbnail”:“ false”,     “ status”:“失败”,     “ progress”:“完成”,     “ region”:“ US”,     “ urn”:“ dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6YWRhbV8yMDE3LTA1LTI4X3RhdGFzdGVlbDEvcnN0X2Jhc2ljX3NhbXBsZV9wcm9qZWN0Ln     “ version”:“ 1.0”,     “衍生物”:[         {             “ name”:“ LMV泡泡”,             “ hasThumbnail”:“ false”,             “ status”:“失败”,             “ progress”:“完成”,             “消息”:[                 {                     “ type”:“错误”,                     “ message”:“ Tr worker无法下载。”,                     “代码”:“ TranslationWorker-InternalFailure”                 }             ],             “ outputType”:“ svf”         }     ] }

1 个答案:

答案 0 :(得分:0)

根据您的骨灰盒,您的模型很有可能是RVT。因此,请重试此请求有效负载:

curl -X POST \
  https://developer.api.autodesk.com/modelderivative/v2/designdata/job \
  -H 'Authorization: Bearer ' \
  -H 'Content-Type: application/json' \
  -H 'cache-control: no-cache' \
  -H 'x-ads-force: true' \
  -d '{
   "input": {
     "urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6YWRhbV8yMDE3LTA1LTI4X3RhdGFzdGVlbDEvcnN0X2Jhc2ljX3NhbXBsZV9wcm9qZWN0LnJ2dA"
   },
   "output": {
     "formats": [
       {
         "type": "svf",
         "views": [
           "2d",
           "3d"
         ]
       }
     ]
   }
 }'

注意。现在,Forge模型衍生API仅支持来自Revit 2016-2020的RVT文件。