NowgateDocs

invalid_items

Some items of the batch are invalid, so nothing was created.

On this page

HTTP status: 422 Unprocessable Entity. Retrying the same request unchanged fails the same way.

Why it happens

  • Every item is checked before any is created. The errors list every problem, by item (/items/3/amount) or by CSV line (/csv/line/4/address).

What to do

Correct the items listed and send the whole batch again.

Example

The response is application/problem+json. Branch on code, never on title or detail. See errors for the format.

{
  "type": "https://docs.nowgate.io/errors/invalid_items",
  "title": "Unprocessable Entity",
  "status": 422,
  "detail": "What exactly was wrong, in a sentence.",
  "instance": "/v1/payments",
  "code": "invalid_items",
  "request_id": "req_01jc3xb1n6f0q2w8e4r7t5y9v3"
}