lookup> 400

400 ·Bad Request

The server cannot process the request because of malformed syntax or invalid framing.

Client ErrorRFC7231#6.5.1
Status400
PhraseBad Request
TypeClient Error
SpecificationRFC7231#6.5.1

What does HTTP 400 mean?

The server cannot process the request because of malformed syntax or invalid framing.

It belongs to the 4xx Client Error class of responses, defined in RFC7231#6.5.1.

Browse all codes in this class: 4xx Client Error

How to fix HTTP 400

Validate the request line, headers and body; check JSON/XML syntax and character encoding.

  • Malformed request syntax
  • Invalid JSON/XML body
  • Wrong character encoding

Website visitors

Double-check the URL, return to the homepage and search again, or retry later.

Developers

Validate the request line, headers and body; check JSON/XML syntax and character encoding.

Server administrators

Review access logs and permission rules for the affected path, and confirm routing and security policies.

Is HTTP 400 cacheable?

400 belongs to the 4xx Client Error class and is generally not cached for long; behavior is controlled by Cache-Control.

What does the 4xx class mean?

4xx Client Error: The server cannot process the request because of malformed syntax or invalid framing.

4xx responses

Related status codes

Related headers

Related methods