400 Bad RequestRequest
INVALID_JSON
The body is not valid JSON The request body could not be parsed as JSON.When it happens
How to fix it
Content-Type: application/json and a body your JSON library produced, not one built by string concatenation.
RetryingFix the request, then send it with a new key.How idempotency works
Example response
HTTP 400 Bad Request
{
"status": "failed",
"error": {
"code": "INVALID_JSON",
"message": "The request body is not valid JSON.",
"doc_url": "https://developer.getreeds.co/errors/INVALID_JSON"
}
}