If data could not be imported for an import task, the API creates 'dump' file depending on the failure. This file contains details of the failures that occurred. Use this information to fix the problems and then try the import again. If your response in the previous call contains "failureDumpAvailable":true, you have a dump file to review.
To prevent timeouts on large files, download the dump file in chunks.
- Query the number of chunks in a dump file.
- Download the chunks sequentially.
- Concatenate the chunks on your host.
Dump files are:
- Removed 48 hours after the last access of the file or the next time an import task successfully executes with no errors.
- Maintained on a user-by-user basis and overwritten when the user performs the same import.
Method and endpoint
https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports/{importID}/tasks/{taskID}/dump
Parameters
Parameter | Description |
AnaplanAuthToken:{token} | Your Anaplan authentication token value. |
workspaceID | The workspace ID |
modelID | The model ID |
importID | The import ID |
taskID | The task ID obtained in the previous step. |
Curl example
curl https://api.anaplan.com/2/0/workspaces/0a800b00e0000000f000001eab0d0000/models/F1111111C11111111B11111F1111E11F/imports/112000000011/tasks/7D33C19584CB4130A673474BB0206D36/dump
Response
... Invalid line item identifier: 00A Partner","Invalid line item identifier: Column 85717 (""02 Customer"")","Invalid line item identifier: Column 85718 (""Existing"")","Invalid line item identifier: Column 85719 (""0"")"