bad_json
HTTP 400 · Signing in and requests
What it means
The body isn't a JSON object.
What to do
Send the body as one JSON object with Content-Type: application/json.
The error's own fix says what to do in that case, and comes first. Search the forum for others who hit it, or see every error.