Quick links
Chimlet home

Documentation

Chimlet home

ERR-1001 · Malformed request

Chimlet could not parse the request body as JSON.

Possible causes

  • The JSON has a syntax error, the body arrived incomplete, or a required body was empty.

How to fix it

  • Serialize the payload with a JSON library and send it with Content-Type: application/json.

Example response

Problem details
JSON
{
  "type": "urn:chimlet:problem/ERR-1001",
  "title": "Malformed request",
  "status": 400,
  "detail": "Could not read a valid JSON body.",
  "code": "ERR-1001",
  "instance": "/problem-occurrences/<request-id>",
  "docs_url": "https://docs.chimlet.app/api/errors/err-1001/"
}

Related endpoints