Not able to get the update model via API

Hi to all,

I have an issue when I try to update and get a model over API.
The steps that I take are as follow:

  1. 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
  2. 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.

Looks to be the same issue as in this ticket: Backend API response errors - #13 by seltzdesign

Could you pleas let me guide me with this issue?
Thanks for the help.

@Cristi please explain what exactly you are trying to do. Then I will be able to point you in the right direction.

Also please explain where you are making the calls from. Is it a web browser?

@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).

Please provide more details:

  • Do you want to run an export of your model?
  • Do you want to get the value of a data output of your model?

Please also share a link to your model (you can do this in a PM).

Hi,

Yes. I want to run an export in Dropbox of my model in STL or DXF format depending on the material.
I will send you the link via PM.

Thanks

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.