REQUEST / ERROR-CATALOG-v1

invalid_request_errorcauses and resolution

Invalid request format, field, or parameter

  • invalid_request_error
  • bad_request
  • invalid_json
  • validation_error

What this signal means

The request reached the server but failed schema or content validation.

Typical HTTP
400 / 422
Protocols
openai / anthropic
Catalog date
2026-09-08

Sanitized response example

{
  "error": {
    "type": "invalid_request_error",
    "message": "Invalid JSON body"
  }
}

Possible causes

  • JSON is invalid, Content-Type is wrong, or a required field/type is missing.
  • A different protocol, legacy field, or relay extension was sent to this endpoint.

Verification and resolution order

  1. 01

    Save the redacted request schema, status, error field, and request ID.

  2. 02

    Compare every field against the current official API documentation.

  3. 03

    Reduce to a minimal request and restore fields one at a time.

What this error cannot prove

400/422 is broad; inspect param, code, and message to locate the fault.

Official references