request.malformed
The request could not be parsed
- HTTP status
- 400
- Problem type
https://api.field-viewer.com/problems/request.malformed- Catalogue
- Generic (any operation)
What it means
The request could not be read at all: the body is not valid JSON, or a header or parameter has a shape the API cannot parse.
What to do
Send a JSON body with Content-Type: application/json and check the request against the operation's schema in the reference. Do not retry the same request unchanged.
Example response
Errors use RFC 9457 application/problem+json. Match on code (stable forever), not on title or detail, which are localised.
HTTP/1.1 400
Content-Type: application/problem+json
{
"type": "https://api.field-viewer.com/problems/request.malformed",
"title": "The request could not be parsed",
"status": 400,
"detail": "The request could not be parsed",
"instance": "/v1/context",
"code": "request.malformed",
"requestId": "req_01jcz3k8m4f6a9t2x7v5q0wbne"
}
Returned by
No operation declares this code in its contract. The API can return it for any request, for example from the request pipeline before an operation runs.