400 Bad Request

The server could not understand the request.

Status code
400
Reason phrase
Bad Request
Class
4xx Client errors

What does 400 Bad Request mean?

The request is malformed: invalid JSON, missing required fields, wrong parameter types or a header the server rejects.

Common causes

How to fix it

400 and webhooks

Usually retried by providers (it is not 2xx), but a permanent 400 will fail every retry — fix the handler.

Test how your client handles 400

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

FAQ

What does HTTP 400 mean?

The server could not understand the request. The request is malformed: invalid JSON, missing required fields, wrong parameter types or a header the server rejects.

Is 400 an error?

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

Other 4xx codes

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 · 422 Unprocessable Content · 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

← 308   All status codes   401 →

About HTTP 400

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

Retrying a 400 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 400 with server logs at the same timestamp and check proxies or CDNs in between — they can generate a 400 before your app is reached.