I've this error : The file is not a Revit file or is not a supported version.
{
"statusCode": 200,
"headers": {
"content-type": "application/json; charset=utf-8",
"date": "Sun, 18 Sep 2022 16:30:45 GMT",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-ads-app-identifier": "platform-viewing-2022.08.01.130.037ecd45a-production",
"x-ads-duration": "303 ms",
"x-ads-startup-time": "Fri Sep 16 11:02:18 UTC 2022",
"content-length": "704",
"connection": "Close"
},
"body": {
"urn": "**9qZWN0LnJ2dA",
"derivatives": [
{
"extractorVersion": "2024.0.2022.0818",
"hasThumbnail": "false",
"name": "rac_basic_sample_project.rvt",
"progress": "complete",
"messages": [
{
"type": "error",
"code": "Revit-UnsupportedFileType",
"message": "<message>The file is not a Revit file or is not a supported version.</message>"
},
{
"type": "error",
"message": "Possibly recoverable warning exit code from extractor: -536870935",
"code": "TranslationWorker-RecoverableInternalFailure"
}
],
"outputType": "svf",
"status": "failed"
}
],
"hasThumbnail": "false",
"progress": "complete",
"type": "manifest",
"region": "US",
"version": "1.0",
"status": "failed"
}
}
Body of translation job :
function translateData(ossUrn) {
var postJob = {
input: {
urn: ossUrn
},
output: {
force : "true",
"destination": {
"region": "us"
},
formats: [{
type: "svf",
views: ["2d", "3d"]
}]
}
};
return postJob;
}
I do not know where this problem comes from I tried with several files, and even pdf. It seems random since some files are translated correctly and others don't.