Mendix Deploy Rest API for DB download is not working

0
Hi All, I am trying to use the deploy API provided by Mendix to download the DB from cloud environment. I am getting error message. Any help would be much appreciated. API I have used:  HTTP Method: GET URL: https://deploy.mendix.com/api/1/apps/<AppId>/environments/<Mode>/snapshots/<SnapshotId> AppID: I have used the sub-domain of my App URL ( example https://testxyz.mendixcloud.com → I have used testxyz) Mode: acceptance SnapID: GUID copied from App » Backups » Selected a DB backup » Details » SnapID I tried testing this from Advanced Rest Client and got an error saying “Environment Not Found”. Error: { "errorMessage": "Environment not found", "errorCode": "ENVIRONMENT_NOT_FOUND" }
asked
2 answers
0

According to the API docs, your error comes from an invalid environment. Could you post the GET URL you are using? You may need to capitalize the first letter of the <mode> path parameter: it should be ‘Acceptance’.

answered
0

Hi,

 

I have tried that as well – Acceptance and Test as well. No luck

answered