400
⚠️ Client Error RFC 9110, Section 15.5.1

Bad Request

The server cannot process the request due to client error (malformed syntax, invalid message framing, deceptive request routing).

Common Use

Generic client error. Used for malformed JSON, missing required fields, invalid parameter types, or syntactically incorrect requests.

API Endpoint

https://codes.uncodigo.com/http/400

Example with curl

curl -i https://codes.uncodigo.com/http/400

Try It

GET /http/400
Click "Send Request" to see the response...

Example

Request

POST /api/users HTTP/1.1
Content-Type: application/json

{invalid json}

Response

HTTP/1.1 400 Bad Request

{"error": "Invalid JSON"}