Autodesk Forge 模型导数 API:TranslationWorker-InternalFailure
Autodesk Forge Model Derivative API: TranslationWorker-InternalFailure
我正在尝试使用模型衍生工具 api 使用以下调用将 .rvt 文件转换为 svf。我正在上传单个 rvt 文件并且该文件没有损坏
POST /modelderivative/v2/designdata/job HTTP/1.1
Host: developer.api.autodesk.com
Authorization: Bearer
Content-Type: application/json; charset=utf-8
x-ads-force: true
Cache-Control: no-cache
Postman-Token: a05c2308-6b4f-7a3f-57b0-2916f25d0157
{
"input": {
"urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6Zm9yZ2V0ZXN0c3AvV0lMRC5ydnQ=",
"compressedUrn": true,
"rootFilename": "WILD.rvt"
},
"output": {
"destination": {
"region": "us"
},
"formats": [
{
"type": "svf",
"views": ["2d"]
}]
}
}
这是我得到的回复。不知道哪里出了问题。请帮忙
{
"type": "manifest",
"hasThumbnail": "false",
"status": "failed",
"progress": "complete",
"region": "US",
"urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6Zm9yZ2V0ZXN0c3AvV0lMRC5ydnQ",
"version": "1.0",
"derivatives": [
{
"name": "LMV Bubble",
"hasThumbnail": "false",
"status": "failed",
"progress": "complete",
"messages": [
{
"type": "error",
"message": "Tr worker fail to download.",
"code": "TranslationWorker-InternalFailure"
}
],
"outputType": "svf"
}
]
}
由于您翻译的是 RVT 而不是压缩文件 (ZIP),因此从您的作业请求负载中删除 "compressedUrn": true, "rootFilename": "WILD.rvt"
(用于压缩文件及其根文件)位:
{
"input": {
"urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6Zm9yZ2V0ZXN0c3AvV0lMRC5ydnQ="
},
"output": {
"destination": {
"region": "us"
},
"formats": [
{
"type": "svf",
"views": ["2d"]
}]
}
}