AI engineering glossary · Web APIs HTTP
What is 400 Bad Request?
400 Bad Request: The status code meaning the server could not understand the request because it was malformed, such as broken JSON or a missing required field. The client should fix the request before trying again.
400 Bad Request: an example
Sending {"name": } with a missing value returns 400.
Related terms
More Web APIs HTTP terms
- 401 Unauthorized
- 403 Forbidden
- 404 Not Found
- 409 Conflict
- 422 Unprocessable Content
- 429 Too Many Requests
- 500 Internal Server Error
- 502 Bad Gateway
Where you learn it
400 Bad Request is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.