Get started
HTTP 400

Invalid JSON body

The body of a POST request is not valid UTF-8 JSON.

"type": "https://ohlc.io/problems/invalid-json"

Why it happens

  • A syntax error, such as a trailing comma.
  • A body nested more than 32 levels deep.

How to fix it

  • Validate the body with a JSON serializer before sending it.

All problem types