404 Error while exporting files from Anaplan process task

url used: "https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/processes/{processID}/tasks/{taskID}/dumps"

response.status_code: 404

Description: When the process is run manually from Anaplan app, it runs successfully and downloads the file.

But when the process is run via Rest API and waited for the process to Complete, dump url always errors out with 404.

The output of the previous step, task output always had "failureDumpAvailable":false.

url used to check the task status and output: "https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/processes/{processID}/tasks/{taskID}"

Can some one help?

Answers