Section: Codes 400-409

HTTP 400 Bad Request

text
text
curl -i -X POST https://example.com/api -H 'Content-Type: application/json' -d '{bad json}'
Explanation

Typically caused by malformed syntax, invalid framing, or deceptive routing.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Codes 400-409
HTTP 401 Unauthorized
Authentication required or invalid
OpenIn sheettextsame section
HTTP 402 Payment Required
Reserved / rarely used
OpenIn sheettextsame section
HTTP 403 Forbidden
Authenticated but not allowed
OpenIn sheettextsame section
HTTP 404 Not Found
Resource does not exist
OpenIn sheettextsame section
HTTP 405 Method Not Allowed
Method not supported on target resource
OpenIn sheettextsame section
HTTP 406 Not Acceptable
No acceptable representation available
OpenIn sheettextsame section