415 Unsupported Media Type

HTTP 415 status code means a server refuses to process the request because the request body (also known as request entity or payload) format is unsupported.

This error might happen when the Content-Type or Content-Encoding header(s) are incorrect or missing. The server also reserves the right to return this status code upon inspecting the body, notwithstanding the correctness of those headers.

Make sure you include the Content-Type header with all your HTTP requests, especially with POST, PUT, and PATCH requests.