Skip to main content

HTTP 422 Unprocessable Content

The request was well-formed syntactically but semantically invalid.

4xx · Client error✗ not retryable — fix the request instead

In AI APIs specifically

Some providers use 422 instead of 400 for parameter validation failures — the error body carries the field-level details.

Fix checklist

  • Read the validation errors in the response body.
  • Check enum values and parameter ranges against the API reference.

Spec: RFC reference