Get Batch Errors

Get Batch Errors

get

Gets a list of any errors for the batch

Path parameters
batchIdstring · uuidRequired

Identifier for the batch

Example: c87e2a4a-5169-4726-b078-7e9538ae28cd
Query parameters
errorTypestringOptional

Retrieves only batch errors of this type

Example: VALIDATION_ERROR
Responses
200

Errors for batch

application/json
get
GET /batch/v1/batches/{batchId}/errors HTTP/1.1
Host: api.tst.motorweb.app
Accept: */*
{
  "batchId": "c87e2a4a-5169-4726-b078-7e9538ae28cd",
  "batchItemsErrors": [
    {
      "id": "0268d287-9d9b-4312-8933-6c04a36dbbcf",
      "inputs": {
        "plate": "ABC123",
        "state": "ACT"
      },
      "errors": [
        {
          "errorType": "PROCESSING_ERROR",
          "errorDescription": "Plate/State not found",
          "attemptNumber": 3
        }
      ]
    }
  ]
}

Last updated