Get Batch Errors
Changed onError handling in batches are handled differently than in a single synchronous request. You must retrieve the status of your batch by getting a batch and getting an overview of the statuses or you can list errors directly here below to get detailed information about the errors.
Request
- Base URLhttps://api.shipengine.com
- URLhttps://api.shipengine.com/v1/batches/{batch_id}/errors
- AuthAPI key in header API-Key
Query parameters
Return a specific page of results. Defaults to the first page. If set to a number that's greater than the number of pages of results, an empty page is returned.
Response
The request was a success.
Example response
{
"errors": [
{
"error": "Recipient address has not been verified.",
"shipment_id": "se-28529731"
}
],
"links": {
"first": {
"href": "http://api.shipengine.com/v1/labels/se-28529731"
},
"last": {
"href": "http://api.shipengine.com/v1/labels/se-28529731"
},
"prev": {
"href": "http://api.shipengine.com/v1/labels/se-28529731"
},
"next": {
"href": "http://api.shipengine.com/v1/labels/se-28529731"
}
}
}Changes
- info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info
- warning
added the new
file_not_foundenum value to the////response property for the response status - warning
added the new
file_not_foundenum value to the////response property for the response status - warning
added the new
file_not_foundenum value to the////response property for the response status - warning
added the new
funding_source_errorenum value to the////response property for the response status - warning
added the new
funding_source_errorenum value to the////response property for the response status - warning
added the new
funding_source_errorenum value to the////response property for the response status - warning
added the new
funding_source_missing_configurationenum value to the////response property for the response status - warning
added the new
funding_source_missing_configurationenum value to the////response property for the response status - warning
added the new
funding_source_missing_configurationenum value to the////response property for the response status - warning
added the new
funding_source_registration_in_progressenum value to the////response property for the response status - warning
added the new
funding_source_registration_in_progressenum value to the////response property for the response status - warning
added the new
funding_source_registration_in_progressenum value to the////response property for the response status - warning
added the new
insurance_failureenum value to the////response property for the response status - warning
added the new
insurance_failureenum value to the////response property for the response status - warning
added the new
insurance_failureenum value to the////response property for the response status - warning
added the new
service_not_determinedenum value to the////response property for the response status - warning
added the new
service_not_determinedenum value to the////response property for the response status - warning
added the new
service_not_determinedenum value to the////response property for the response status - warning
added the new
shipping_rule_not_foundenum value to the////response property for the response status - warning
added the new
shipping_rule_not_foundenum value to the////response property for the response status - warning
added the new
shipping_rule_not_foundenum value to the////response property for the response status
- warning