What happened
Your request has a body, but it was not sent as JSON. The API answered 415 UNSUPPORTED_MEDIA_TYPE and read nothing from the body. Nothing was started. The message tells you which content type it received.
Why it happens
- The
Content-Type: application/jsonheader is missing. The message then says the content type is missing. - The body is sent as another content type, for example as a form (
application/x-www-form-urlencoded) instead of JSON. The message names the type it received. - A file was sent as the body. The API takes only JSON requests. Files go to the upload address that
POST /v1/uploadreturns.
What to do
- Add the header
Content-Type: application/jsonto everyPOSTrequest that has a body. Extra parts such asapplication/json; charset=utf-8are fine. - Send the body as a JSON object, for example
{"url": "https://example.com/audio.mp3"}. - To send a file, ask for an upload address with
POST /v1/upload, send the file to that address, then callPOST /v1/transcribewith theupload_id.
In Claude, ChatGPT and other AI apps
- You see this only when the app uses an API key, and then it points to a problem in how the app builds its request, not to something you did. Ask the app to try again, and email us if it keeps happening.
Were you charged?
No. Nothing was started, so nothing was used.
Still stuck?
Email support@scriptivox.com with:
- the email address of your Scriptivox account
- the request's headers with your key left out, and the
request_idfrom the answer - when it happened, with your time zone
- the exact message you saw
In Claude, ChatGPT or another AI app, you can also ask it to send us a problem report: it shows you the report first and sends it only when you say yes.
For developers
415 UNSUPPORTED_MEDIA_TYPE, answered at once on any POST that carries a body, before your key is checked. (No address takes PUT or PATCH: they get 405 METHOD_NOT_ALLOWED first.) The response has an Accept-Post: application/json header. Requests with no body are not checked, so an empty POST such as a cancel goes through. Sending the same request again gives the same answer: fix the header first.
{
"error": {
"code": "UNSUPPORTED_MEDIA_TYPE",
"message": "Content-Type must be 'application/json' on request bodies. Received: application/x-www-form-urlencoded.",
"docs_url": "https://www.scriptivox.com/errors/request-not-json",
"help_id": "request-not-json",
"request_id": "req_6fe725fffa7d9b98"
}
}