HTTP Errors

What Is the 422 Status Code? (Unprocessable Entity)

On this page

HTTP 422 Unprocessable Entity means the server understood your request perfectly but refused to act on it because the data inside failed a validation check. The format is correct — valid JSON, all the right pieces — but the actual values don't pass the server's rules: a required field is missing, a value is the wrong type, or it breaks a business rule (like a date in the past). Think of it as a form that's filled in neatly but with an answer the system won't accept. It's also written "HTTP 422" or just "422 error" / "422 status code."

Quick facts

Status code422
MeaningUnprocessable Entity
Category4xx Client Error
Common causes (scraping)Missing required field, wrong type, value out of allowed range
Right responseFix the request / retry with backoff; for disguised blocks use a real-browser unblock

What a 422 Unprocessable Entity means

The request's format is fine, but the server can't process what's inside it. This is almost always a validation failure on the payload (the data you sent in the request body): a field is missing, a value is the wrong type, or a value breaks a business rule. In short, a 422 status code means the request was well-formed but failed validation.

Why scrapers see 422

You'll hit a 422 when you send data to an API or submit a form and one of the fields is invalid — a malformed JSON value, a bad date, or a required parameter you left out. It's about meaning, not formatting, so fixing it like a 400 'bad request' won't help: the body parsed fine, the values just didn't pass validation.

How to fix a 422 error

Start by reading the response body — most APIs return JSON that lists exactly which fields failed and why. Then fix your payload to match what the server expects: correct the data types, include every required field, and stay within allowed ranges. A reliable trick is to copy a real, working submission captured in your browser's DevTools (the built-in developer tools, opened with F12), including any hidden form fields and tokens. Because a 422 is a problem with the data in your request, changing IPs or headers won't fix it.

Related terms

Concept map

How 422 Status Code (422 Unprocessable Entity) connects

The terms most directly tied to this one. Hover a node to see its neighbours, click to preview, drag to rearrange.

0 terms · 0 connections
You are here · HTTP Errors
Building map…

Frequently asked questions

Is 422 a client or server error?

It's a client-side error (the 4xx family) — the server is telling you the problem is in your request, not on its end.

Does a 422 mean I'm blocked when scraping?

Not necessarily. A 422 points at your request, not a ban. That said, some anti-bot systems return it instead of a 403, so read the response body and headers to be sure.

How do I fix a 422 error?

The cause is that the request was well-formed but failed validation, so the fix targets exactly that: correct the part of the request that's invalid, then retry.

What's the difference between 422 and 400?

A 400 Bad Request usually means the server couldn't even parse the request — the syntax is broken. A 422 means it parsed the request fine, but the values failed validation. Simply put: 400 = can't read it, 422 = read it, didn't like it.

Last updated: 2026-05-31