Skip to content

invalid_batch

The Batch body is not a list of 1 to 100 calls.

The invalid_batch Problem means: the Batch body is not a list of 1 to 100 calls.

Answer

StatusTitle
400Bad Request
JSON
{
  "type": "about:blank",
  "title": "Bad Request",
  "status": 400,
  "detail": "What went wrong, in words.",
  "code": "invalid_batch"
}

Fix

Send {"calls": [...]} with 1 to 100 items, each a verb and its input.