1. Data integration
  2. Anaplan API Guide and Reference
  3. Use the bulk APIs
  4. Perform an import action
  5. Initiate an import action
  6. Check the dump file for imports

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.

  1. Query the number of chunks in a dump file.
  2. Download the chunks sequentially.
  3. 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

GET

Parameters

ParameterDescription
AnaplanAuthToken:{token}Your Anaplan authentication token value.
workspaceIDThe workspace ID
modelIDThe model ID
importIDThe import ID
taskIDThe 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"")"