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.
GET

https://api.anaplan.com/2/0/workspaces/{workspaceID}/models/{modelID}/imports/{importID}/tasks/{taskID}/dump

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 https://api.anaplan.com/2/0/workspaces/0a800b00e0000000f000001eab0d0000/models/F1111111C11111111B11111F1111E11F/imports/112000000011/tasks/7D33C19584CB4130A673474BB0206D36/dump

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