Translate IFC Failure - autodesk-forge

I try to translate a IFC file by API, but failed.
And I can translate this file successful in [https://viewer.autodesk.com/designviews].
The manifest
{
"urn": "dXJuOmFkc2sub2JqZWN0czp......",
"derivatives": [
{
"hasThumbnail": "false",
"name": "XXXXXXXX.ifc",
"progress": "complete",
"messages": [
{
"type": "error",
"message": "Unrecoverable exit code from extractor: -1073741829",
"code": "TranslationWorker-InternalFailure"
}
],
"outputType": "svf",
"status": "failed"
}
],
"hasThumbnail": "false",
"progress": "complete",
"type": "manifest",
"region": "US",
"version": "1.0",
"status": "failed"
}

Related

Autodesk forge translation error: Unrecoverable exit code from extractor: -1073741852

We are getting the below error when trying to translate a Creo file. (ZIP file upload to OSS, translated through model derivative)
Can't find any info on what a "Unrecoverable exit code from extractor: -1073741852" error is. Can anyone help point me in the right direction to diagnose the issue?
{
"urn": "XXXXXXXX",
"derivatives": [
{
"hasThumbnail": "false",
"name": "XXXXXXX.asm.1",
"progress": "complete",
"messages": [
{
"type": "error",
"message": "Unrecoverable exit code from extractor: -1073741852",
"code": "TranslationWorker-InternalFailure"
}
],
"outputType": "svf",
"status": "failed"
}
],
"hasThumbnail": "false",
"progress": "complete",
"type": "manifest",
"region": "US",
"version": "1.0",
"status": "failed"
}

Autodesk Forge model derivate properties returns empty collection

Autodesk Forge model derivate properties returns empty collection, I am using the api
https://developer.api.autodesk.com/modelderivative/v2/designdata/:urn/metadata/:guid/properties
to obtain the properties of a demp.dwg file but it returns the empty collection
{
"data": {
"type": "properties",
"collection": []
} }
the call to get manifest
https://developer.api.autodesk.com/modelderivative/v2/designdata/:urn/manifest
is as follows
{"urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6YW50YW1pbmEvUHJ1ZWJhLmR3Zw",
"derivatives": [
{
"hasThumbnail": "true",
"children": [
{
"urn": "urn:adsk.viewing:fs.file:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6YW50YW1pbmEvUHJ1ZWJhLmR3Zw/output/properties.db",
"role": "Autodesk.CloudPlatform.PropertyDatabase",
"mime": "application/autodesk-db",
"guid": "cb73c076-d3cd-a725-754f-a64cd8c07648",
"type": "resource",
"status": "success"
},
{
"guid": "fa729fe0-682e-c3b7-9662-9d88ce4b7b68",
"type": "geometry",
"role": "2d",
"name": "4140",
"viewableID": "4140",
"status": "success",
"hasThumbnail": "true",
"progress": "complete",
"children": [
{
"urn": "urn:adsk.viewing:fs.file:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6YW50YW1pbmEvUHJ1ZWJhLmR3Zw/output/Prueba-4140_100.png",
"role": "thumbnail",
"mime": "image/png",
"guid": "816e2536-e012-c3d5-1b5a-fa4146daa077",
"type": "resource",
"resolution": [
100,
100
],
"status": "success"
},
{
"urn": "urn:adsk.viewing:fs.file:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6YW50YW1pbmEvUHJ1ZWJhLmR3Zw/output/Prueba-4140_200.png",
"role": "thumbnail",
"mime": "image/png",
"guid": "21cfc2dc-2b82-13d7-5f37-89aba22ce02d",
"type": "resource",
"resolution": [
200,
200
],
"status": "success"
},
{
"urn": "urn:adsk.viewing:fs.file:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6YW50YW1pbmEvUHJ1ZWJhLmR3Zw/output/Prueba-4140_400.png",
"role": "thumbnail",
"mime": "image/png",
"guid": "7c88e238-088a-f574-cbe8-b86397d67ef9",
"type": "resource",
"resolution": [
400,
400
],
"status": "success"
},
{
"urn": "urn:adsk.viewing:fs.file:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6YW50YW1pbmEvUHJ1ZWJhLmR3Zw/output/1b89b0d3-1560-00ab-c51e-7626cfe4cecb_f2d/primaryGraphics.f2d",
"role": "graphics",
"mime": "application/autodesk-f2d",
"guid": "56187d40-cf5c-e4d9-2fe7-a69210e2fcfe",
"type": "resource",
"status": "success"
}
]
}
],
"name": "Prueba.dwg",
"progress": "complete",
"outputType": "svf",
"status": "success"
}
],
"hasThumbnail": "true",
"progress": "complete",
"type": "manifest",
"region": "US",
"version": "1.0",
"status": "success" }
I can't get it to return the data in properties
This seems to be a problem in the GET properties endpoint that's specific to your DWG file. We've reported the issue to the engineering team, and will get back to you as soon as we have more information.
In the meantime, I'd suggest that you take a look at this blog post: https://forge.autodesk.com/blog/accessing-design-metadata-without-viewer. It talks about other ways in which the model properties can be retrieved. In case of your specific DWG, I was able to retrieve the properties in the sqlite form without problems.

Autodesk Forge Translation Error - Extractor Code 1073741819

I am getting the below error back for a failed translation.
The error I received is: Extractor error code -1073741819
I was wondering if someone could point me to somewhere that documents what the error codes mean so we can address the issue with our upload.
"urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6d2ViYXBwLmNhZHNoYXJlLmNvLzE2MTQxNzMzMTgyOTMtRjEwMTQ3MCUyMC0lMjBSMjUwMC5qdA",
"derivatives": [
{
"hasThumbnail": "false",
"name": "1234-filename.jt",
"progress": "complete",
"messages": [
{
"type": "error",
"message": "Extractor error code -1073741819",
"code": "TranslationWorker-InternalFailure"
}
],
"outputType": "svf",
"status": "failed"
}
],
"hasThumbnail": "false",
"progress": "complete",
"type": "manifest",
"region": "US",
"version": "1.0",
"status": "failed"
}

Incomplete model translation status information for .rvt translations

I've been testing out model translations with .rvt files of various sizes. Recently my model translation jobs never get to a 'completed' status as described in the documentation, even though the underlying webhook information and shows that the translation is completed.
In my local testing, I have a node script that uploads the .rvt file to forge storage and starts an SVF2 translation. I have tried this with both SVF and SVF2 and have the same issue. In order to get Room and Space information, I have the generateMasterViews flag set to true. I also have x-ads-force set to true so that the translation always re-runs. After starting the translation, my script checks the translation status every 5 seconds until the status property of the translation is 'success'. Lately, my script has not been finishing because the translation status never comes back with 'success' and instead hangs at '90% complete'. See response below.
Additionally, I have a forge webhook with the extraction.updated and extraction.finished events registered. The extraction.finished event never fires, however the final extraction.updated event contains all the information that would indicate a completed translation. See response below.
This only appears to be an issue for URNs that have had translations run at least once before, however it has not always been an issue. It started occurring a week or two ago. If I upload a file to a new storage path (e.g. by prefixing the uploaded filename with a timestamp) the job status completes as expected.
Translation status response
{
"urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGF5ZXJfbW9kZWxzLzE2MTI4MDgzNjA1MjNmb3JnZV90ZXN0X3NtYWxsLnJ2dA",
"derivatives": [
{
"hasThumbnail": "true",
"children": [
{
"urn": "urn:adsk.viewing:fs.file:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGF5ZXJfbW9kZWxzLzE2MTI4MDgzNjA1MjNmb3JnZV90ZXN0X3NtYWxsLnJ2dA/output/Resource/model.sdb",
"role": "Autodesk.CloudPlatform.PropertyDatabase",
"mime": "application/autodesk-db",
"guid": "6fac95cb-af5d-3e4f-b943-8a7f55847ff1",
"type": "resource",
"status": "success"
},
{
"urn": "urn:adsk.viewing:fs.file:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGF5ZXJfbW9kZWxzLzE2MTI4MDgzNjA1MjNmb3JnZV90ZXN0X3NtYWxsLnJ2dA/output/Resource/AECModelData.json",
"role": "Autodesk.AEC.ModelData",
"mime": "application/json",
"guid": "a4aac952-a3f4-031c-4113-b2d9ac2d0de6",
"type": "resource",
"status": "success"
},
{
"phaseNames": "New Construction",
"role": "3d",
"hasThumbnail": "true",
"children": [
{
"guid": "92b5dec7-790a-45b0-a5e8-cd9f76058c3a-00056e47",
"type": "view",
"role": "3d",
"name": "3D",
"status": "success",
"progress": "complete",
"camera": [
135.5139617919922,
-135.10296630859375,
149.049560546875,
-4.035602569580078,
4.446601867675781,
9.5,
-0.40824830532073975,
0.40824830532073975,
0.8164966106414795,
1.5180892944335938,
0,
1,
1
]
},
{
"urn": "urn:adsk.viewing:fs.file:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGF5ZXJfbW9kZWxzLzE2MTI4MDgzNjA1MjNmb3JnZV90ZXN0X3NtYWxsLnJ2dA/output/Resource/3D View/3D/3D1.png",
"role": "thumbnail",
"mime": "image/png",
"guid": "c70aa596-d404-714f-6795-9276087c3800",
"type": "resource",
"resolution": [100, 100],
"status": "success"
},
{
"urn": "urn:adsk.viewing:fs.file:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGF5ZXJfbW9kZWxzLzE2MTI4MDgzNjA1MjNmb3JnZV90ZXN0X3NtYWxsLnJ2dA/output/Resource/3D View/3D/3D2.png",
"role": "thumbnail",
"mime": "image/png",
"guid": "6ef65d1a-4a59-111d-f1ec-4e543bd2712b",
"type": "resource",
"resolution": [200, 200],
"status": "success"
},
{
"urn": "urn:adsk.viewing:fs.file:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGF5ZXJfbW9kZWxzLzE2MTI4MDgzNjA1MjNmb3JnZV90ZXN0X3NtYWxsLnJ2dA/output/Resource/3D View/3D/3D4.png",
"role": "thumbnail",
"mime": "image/png",
"guid": "2c06739e-5164-4f6d-450e-c8833fd2a2ba",
"type": "resource",
"resolution": [400, 400],
"status": "success"
}
],
"success": "90%",
"name": "3D",
"guid": "f2cf4f10-55b9-4f4b-7c03-9f1cf7d2e689",
"progress": "90%",
"type": "geometry",
"viewableID": "92b5dec7-790a-45b0-a5e8-cd9f76058c3a-00056e47",
"status": "inprogress"
},
{
"phaseNames": "New Construction",
"role": "3d",
"hasThumbnail": "true",
"children": [
{
"guid": "c884ae1b-61e7-4f9d-0001-719e20b22d0b-00056e5e",
"type": "view",
"role": "3d",
"name": "New Construction",
"status": "success",
"progress": "complete",
"camera": [
39.99827575683594,
-36.743263244628906,
52.14657211303711,
-2.148294448852539,
5.40330696105957,
10,
-0.40824830532073975,
0.40824830532073975,
0.8164966106414795,
1.0748299360275269,
0,
1,
1
]
},
{
"urn": "urn:adsk.viewing:fs.file:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGF5ZXJfbW9kZWxzLzE2MTI4MDgzNjA1MjNmb3JnZV90ZXN0X3NtYWxsLnJ2dA/output/Resource/3D View/08f99ae5-b8be-4f8d-881b-128675723c10/New Construction/New Construction1.png",
"role": "thumbnail",
"mime": "image/png",
"guid": "a3c19573-8948-7ae0-fb5c-75cab1d0e87a",
"type": "resource",
"resolution": [100, 100],
"status": "success"
},
{
"urn": "urn:adsk.viewing:fs.file:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGF5ZXJfbW9kZWxzLzE2MTI4MDgzNjA1MjNmb3JnZV90ZXN0X3NtYWxsLnJ2dA/output/Resource/3D View/08f99ae5-b8be-4f8d-881b-128675723c10/New Construction/New Construction2.png",
"role": "thumbnail",
"mime": "image/png",
"guid": "86d53dd2-82c8-1948-5997-00ebf6078ed7",
"type": "resource",
"resolution": [200, 200],
"status": "success"
},
{
"urn": "urn:adsk.viewing:fs.file:dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGF5ZXJfbW9kZWxzLzE2MTI4MDgzNjA1MjNmb3JnZV90ZXN0X3NtYWxsLnJ2dA/output/Resource/3D View/08f99ae5-b8be-4f8d-881b-128675723c10/New Construction/New Construction4.png",
"role": "thumbnail",
"mime": "image/png",
"guid": "7e36c074-8997-d941-4dc3-6a72fcdf3b9b",
"type": "resource",
"resolution": [400, 400],
"status": "success"
}
],
"success": "90%",
"name": "New Construction",
"guid": "37992551-4555-5430-58a0-9158b794a411",
"progress": "90%",
"type": "geometry",
"viewableID": "c884ae1b-61e7-4f9d-0001-719e20b22d0b-00056e5e",
"status": "inprogress"
}
],
"name": "1612808360523forge_test_small.rvt",
"progress": "90% complete",
"outputType": "svf2",
"status": "inprogress"
}
],
"hasThumbnail": "true",
"progress": "90% complete",
"type": "manifest",
"region": "US",
"version": "1.0",
"status": "inprogress"
}
Webhook extraction.updated payload:
{
"URN": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGF5ZXJfbW9kZWxzL2ZvcmdlX3Rlc3Rfc21hbGwucnZ0",
"Payload": {
"status": "success",
"scope": "12f35ced-3397-40c9-a7dc-bd80bddbbca6",
"bubble": {
"progress": "complete",
"owner": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGF5ZXJfbW9kZWxzL2ZvcmdlX3Rlc3Rfc21hbGwucnZ0",
"region": "US",
"type": "design",
"children": [],
"guid": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGF5ZXJfbW9kZWxzL2ZvcmdlX3Rlc3Rfc21hbGwucnZ0",
"startedAt": "Mon Feb 08 18:04:15 UTC 2021",
"hasThumbnail": "true",
"status": "success",
"success": "100%",
"urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bGF5ZXJfbW9kZWxzL2ZvcmdlX3Rlc3Rfc21hbGwucnZ0"
},
"registerKey": []
}
}
I asked our engineering team to look into the logs and this is what they replied. "The manifest status is 'now' 100% complete. It was a SVF2 job, it took about 3 minutes for SVF2 generation. I guess that’s we were seeing “job was suck”.
"hasThumbnail": "true",
"progress": "complete",
"type": "manifest",
"region": "US",
"version": "1.0",
"status": "success"
"
I also tried your scenarios and was not able to reproduce the problem, so I am not really sure what to tell you. If you see more problems like this in future, please reach out to me directly at cyrille at autodesk .com

The file is not a Revit file or is not a supported version

I upload a '.rvt' file by postman.And translate to svf. But it response me translated failed message. My rvt file built by Revit2017.
uploaded response:
And I call manifest. It response me:
{
"type": "manifest",
"hasThumbnail": "false",
"status": "failed",
"progress": "complete",
"region": "US",
"urn": "dXJuOmFkc2sub2JqZWN0_____________6Ym9pbGVyL1JWTW9kZWwucnZ0",
"version": "1.0",
"derivatives": [
{
"name": "LMV Bubble",
"hasThumbnail": "false",
"status": "failed",
"progress": "complete",
"messages": [
{
"type": "error",
"message": "Possibly recoverable warning exit code from extractor: -536870935",
"code": "TranslationWorker-RecoverableInternalFailure"
},
{
"type": "error",
"code": "Revit-UnsupportedFileType",
"message": "<message>The file is not a Revit file or is not a supported version.</message>"
}
],
"outputType": "svf"
}
]}
Have I missed step? Is my file wrong?