unsupported_media_type
The body was sent in a format this API does not read.
What to do
Send Content-Type: application/json.
Should you try again?
No. The same request will fail the same way. Change something first.
How you'll see it
{
"type": "https://www.obraledger.com/api/errors/unsupported_media_type",
"detail": "..."
}
The body also carries a title
and a status. The
detail is written for a person
and we may reword it, so don't match on it. Some failures also carry a
violations list naming the fields
at fault.
Building something and stuck? Tell us - we'd rather hear it than have you guess.