415 - Unsupported Media Type
The service doesn't support the format you're using for the request body. This is about what you send, not the format you ask for in the Accept header.
What to check
- Compare the outgoing
Content-Typeheader with what the endpoint documents. - Check that the body matches that format. For example, send JSON rather than form data if the API expects
application/json.