I have an issue when I try to update and get a model over API.
The steps that I take are as follow:
I do a post to this endpoint https://sdeuc1.eu-central-1.shapediver.com/ticket/{ticket key} with this parameter in the body: {“text”: “Wemakefuture”}.
I get a 201 response for the call and inside of the call i can even see that the text was sanitized {
“data”: “WEMAKEFUTURE”,
“format”: “data”,
“name”: “sanitizedText”
},
so i assume that the call is working
After that I do a post to the same endpoint with the same ticket key using this parameters to get the updated model, but I get the original one, not the one with the new text (WEMAKEFUTURE) in this case. {
“exports”: {
“id”: “ac55e5bae243c8dc6e3720aaf427a600” - this ID I get it from the 1st post response in export parameter
}
}
I also have a sleep of 5 seconds between the calls just in case.
@snabela We are trying to update an existing model with a new text and get the updated model.
The call is made from an automation platform, named Make.com (formally known as Integromat).
You can find a detailed walkthrough of the API related to exports here.
This is the Swagger documentation of the export request. Be sure to include the max_wait_time property which is the Maximum amount of milliseconds to wait for completion of export request before responding. Set this to a value >= the maximum allowed computation time for your account.