Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP Developer Documentation
  • Developing with Sitecore CDP
    • Authentication
    • Base URL
    • Batch file formatting requirements
            • Allocate batch upload location
            • Upload batch file
            • Retrieve details of batch uploads
            • Retrieve batch file upload status
            • Retrieve batch upload error log
  1. Reference
  1. Sitecore CDP Developer Documentation
  2. Batch API

Retrieve batch upload error log

GET <errorLogRef>

Retrieves the error log. Make this request only if the upload status of a batch file is error.

AttributeTypeDescriptionExample
errorLogRefstringThe URI of the error log.

If you do not know the URI, first retrieve the batch file upload status. In the response, if the status is error, the status object contains a log key. The log key contains the URI of the error log.
https://sitecore-batch-service-dev-eu-west-1.s3.amazonaws.com/...

The error log contains error information for each guest record that could not be processed. Records that were processed successfully are not included in the error log.

Logs contain the following information:

  • ref - the unique identifier passed in with the guest record.
  • code - a numeric code that identifies the type of error.
  • message - details about the error type.

Frequent errors you might encounter during the batch file upload process:

CodeMessageDescription
400Validation errorFor example, if you are using data extensions, these errors might occur because of data inconsistencies, such as:

  • Incorrect data type - the data type assigned to an extension field does not match the type defined for this extension's schema.
  • Undefined attribute - the file includes attributes that do not exist in the schema.
400Identity information missing
402Unsupported modeYou are trying to use a mode that is not supported for the Batch API. The supported modes are:

  • insert
  • create
  • upsert
  • merge
  • delete
  • gdpr_delete
403Action not allowedYou do not have sufficient permissions to perform the action, or you are attempting to delete a guest that has a current active session.
404Resource not foundIn a deletion process, you are attempting to delete a guest that does not exist.
409Resource conflictIn a creation process, you are attempting to create an existing identity.
500Server errorThere is an internal server error, unrelated to the import process.
curl -X GET 'https://sitecore-batch-service-dev-eu-west-1.s3.amazonaws.com/xyzsla2xze5vxn02kf283wo020jg/3ee694e5-0b77-2d1e-af19-1aa78f500785/import.gz?AWSAccessKeyId=AKIAI2JLVI7OT2L6QDRQ&Expires=1459953714&Signature=yIG7nFv5w%2B2N%2Fkz11Eh7BjqSt2U%3D'

Structure of error logs:

{"ref": "<UUID>", "code":"<error_code>", "message":"<reason_for_failure>"}
If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use