Open jaimerosales opened 10 months ago
Thanks for the heads up @jaimerosales. This issue seems to be very hard to reproduce. Here's the steps I took to reproduce it:
When I did this for the first time, I got an error as well:
{
"config": {
"url": "designdata/job",
"method": "post",
"data": "{\"input\":{\"urn\":\"dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6YnJvenAtdGVzdC1idWNrZXQtZW1lYS9CaWtlJTIwRnJhbWUuZjNk\"},\"output\":{\"formats\":[{\"type\":\"svf2\",\"views\":[\"2d\",\"3d\"],\"advanced\":{\"switchLoader\":false,\"generateMasterViews\":false}}],\"destination\":{\"region\":\"EMEA\"}},\"misc\":{\"workflow\":\"foobar\",\"workflowAttribute\":{}}}",
"headers": {
"Accept": "application/json, text/plain, */*",
"Content-Type": "application/json",
"x-ads-force": "true",
"Authorization": "Bearer eyJhbGci...",
"User-Agent": "axios/0.21.4",
"Content-Length": 313
},
"baseURL": "https://developer.api.autodesk.com/modelderivative/v2/",
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 0,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
}
},
"data": {
"diagnostic": "We encountered an internal error, please try again."
},
"headers": {
"content-type": "application/json; charset=utf-8",
"date": "Mon, 04 Sep 2023 08:14:50 GMT",
"strict-transport-security": "max-age=31536000; includeSubDomains",
"x-ads-app-identifier": "platform-viewing-2023.08.01.391.6677b1f05-production",
"x-ads-duration": "93 ms",
"x-ads-exception-id": "fe7e9a13-b5bd-4189-a8c1-399b833888a1",
"x-ads-startup-time": "Mon Aug 28 07:23:41 UTC 2023",
"x-ads-troubleshooting": "Service Error.",
"content-length": "68",
"connection": "Close"
},
"status": 500,
"statusText": "Internal Server Error"
}
What's weird is that I'm not able to reproduce the issue anymore. I tried removing all derivatives, all OSS objects, and all webhooks, and repeat steps 2-4, but I can't get the error anymore...
Do you perhaps have some better repro steps that can always trigger the error?
When trying to translate object (custom) and adding the workflow ID on the 1st attempt it gave us an error every time we wanted to translate also on EMEA. We had to run it a second time and then it started translating.