Unsupported media type
HTTP 415 · code: "unsupported_media_type" · type: "https://docs.frysis.com/errors/unsupported_media_type"
When it happens
Section titled “When it happens”The request has a body but its Content-Type isn’t application/json.
How to fix it
Section titled “How to fix it”Send Content-Type: application/json.
Example
Section titled “Example”{ "type": "https://docs.frysis.com/errors/unsupported_media_type", "title": "Unsupported media type", "status": 415, "detail": "…", "instance": "/…", "code": "unsupported_media_type"}See Errors for the full response format.