422 Unprocessable Content

Syntax is fine, but the data is invalid.

Status code
422
Reason phrase
Unprocessable Content
Class
4xx Client errors

What does 422 Unprocessable Content mean?

The request is well-formed but fails validation — e.g. an invalid email, a negative amount, a missing field. Common in REST APIs (Rails, Laravel, FastAPI).

Common causes

How to fix it

422 and webhooks

If your handler returns 422 for unknown event types, the provider will retry — return 200 and ignore unknown events.

Test how your client handles 422

In the webhook tester you can add a response rule that answers 422 — useful to check retries, error handling and alerts before production.

FAQ

What does HTTP 422 mean?

Syntax is fine, but the data is invalid. The request is well-formed but fails validation — e.g. an invalid email, a negative amount, a missing field. Common in REST APIs (Rails, Laravel, FastAPI).

Is 422 an error?

Yes — a client error: the request must be changed before retrying.

Other 4xx codes

400 Bad Request · 401 Unauthorized · 402 Payment Required · 403 Forbidden · 404 Not Found · 405 Method Not Allowed · 406 Not Acceptable · 408 Request Timeout · 409 Conflict · 410 Gone · 411 Length Required · 412 Precondition Failed · 413 Content Too Large · 414 URI Too Long · 415 Unsupported Media Type · 418 I'm a teapot · 425 Too Early · 426 Upgrade Required · 428 Precondition Required · 429 Too Many Requests · 431 Request Header Fields Too Large · 451 Unavailable For Legal Reasons · 499 Client Closed Request

← 418   All status codes   425 →

About HTTP 422

The status line “HTTP/1.1 422 Unprocessable Content” belongs to the 4xx family — client errors, meaning the request itself must change.

Retrying a 422 without changing the request usually gives the same answer; log the response body, it often names the bad field or header.

When debugging, compare the 422 with server logs at the same timestamp and check proxies or CDNs in between — they can generate a 422 before your app is reached.