Skip to content

Family not allowed in a batch

Show all problem types
422

BATCH_FAMILY_NOT_ALLOWED

A part of the batch belongs to a family that is not allowed in a batch.
Typical cause
A part of the batch belongs to a money family, such as finalizing or sending an invoice.
Way out
Call that part on its own, outside the batch. The other parts run as usual.

Example response

Example response
POST /v1/batch

HTTP/1.1 422 Unprocessable Content
Content-Type: application/problem+json
Content-Language: en

{
  "type": "https://developers.bodo-app.com/problems/BATCH_FAMILY_NOT_ALLOWED",
  "title": "Family not allowed in a batch",
  "status": 422,
  "instance": "/v1/batch",
  "code": "BATCH_FAMILY_NOT_ALLOWED",
  "requestId": "req_01JBD8Y3K5M7Q2W9X4Z6T1V0NP"
}