Easymailing
Batch operations

Get batch operation errors

GET /batch_operations/{uuid}/errors

GET/batch_operations/{uuid}/errors

Returns the calls of a batch that failed, with their error, and the errors grouped by message with how many times each happened.

When to use: When a batch finished with errored above 0, to see why without downloading the whole results file.

When not to use: To see the progress of the batch use get_batch_operation.

Permissions: No specific permission.

Authorization

X-Auth-Token<token>

Value for the X-Auth-Token header parameter.

In: header

Path Parameters

uuid*string

UUID of the batch. Get it with list_batch_operations, or from the response of create_batch_operation.

Response Body

application/problem+json

application/problem+json

curl -X GET "https://api.easymailing.com/batch_operations/9c5f2b18-7d34-4a61-b0e9-1f6a8d3c4e72/errors" \  -H "X-Auth-Token: YOUR_API_KEY"
{  "total_operations": 0,  "success_count": 0,  "total_errors": 0,  "errors": [    {      "externalIdentifier": "string",      "path": "string",      "method": "string",      "status": 0,      "errorType": "string",      "message": "string"    }  ],  "grouped_by_message": {    "property1": {      "count": 0,      "status": 0    },    "property2": {      "count": 0,      "status": 0    }  }}