Site Logo

🎉 ShipEngine is becoming ShipStation API 🎉

Over the next few months you'll notice the ShipEngine website, documentation portal, and dashboard being rebranded as ShipStation API. For our ShipEngine customers, you don't need to take any action or change any of your integrations in any way. All endpoints will remain the same and continue to function as they always have.

To learn more about what's coming, review our New ShipStation API page.

List Batch Errors

If any of your batches encounter an error when processing, you can use the List Batch Errors call to specifically list the errors that occured on a specific batch.

Once you identify the reason(s) your batch failed, you can do the following:

  1. Correct the errors in the shipments by updating the shipment.
  2. Create a new batch for the shipments and rates in the invalid or error state.
  3. Process the new batch.

Example Request & Response

GET /v1/batches/:batch_id/errors

1
2
3
GET /v1/batches/se-12345/errors HTTP/1.1
Host: api.shipengine.com
API-Key: __YOUR_API_KEY_HERE__

Response

1
2
3
4
5
{
"error": "Insufficient account balance",
"shipment_id": "se-12345",
"external_shipment_id": "TestId-1"
}