The server cannot process the request because of malformed syntax or invalid framing.
Quick facts
When does it occur
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 it
Validate the request line, headers and body; check JSON/XML syntax and character encoding.
Common causes
How to fix it
Double-check the URL, return to the homepage and search again, or retry later.
Validate the request line, headers and body; check JSON/XML syntax and character encoding.
Review access logs and permission rules for the affected path, and confirm routing and security policies.
Frequently asked questions
400 belongs to the 4xx Client Error class and is generally not cached for long; behavior is controlled by Cache-Control.
4xx Client Error: The server cannot process the request because of malformed syntax or invalid framing.
Sources & standards
Updated 2026-08-18
Explore this reference
Related status codes
Related headers
Related methods