What happened
The address you called exists, but it does not take the kind of request you sent (for example a POST to an address that only takes GET). The API answered 405 METHOD_NOT_ALLOWED, and the message names the method the address does take. Nothing was started.
Why it happens
- The wrong HTTP method for the address. For example
GET /v1/transcribeinstead ofPOST /v1/transcribe,POST /v1/balanceinstead ofGET /v1/balance, orGETon a cancel address, which takesPOST. - A method the address never takes, such as
PUTorPATCH: no address of the API takes them, so on an address that exists they always get this answer.
What to do
- Read the message: it names the method the address takes. The answer also has an
Allowheader naming the method (for/v1/transcribe/{id}, the header names onlyGET). - Send the request again with that method. For one job, the address
/v1/transcribe/{id}takesGETto read the job andDELETEto remove it. - Check the API reference for the method of each endpoint.
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 address and method you used, 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
405 METHOD_NOT_ALLOWED, answered at once on the request, before your key is checked. The Allow response header names the accepted method. Sending the same request again gives the same answer: change the method. Note that /v1/transcribe/{id} takes both GET and DELETE: for any other method the message names both, but the Allow header names only GET.
{
"error": {
"code": "METHOD_NOT_ALLOWED",
"message": "This address accepts GET (to read a job) and DELETE (to remove it) requests.",
"docs_url": "https://www.scriptivox.com/errors/method-not-allowed",
"help_id": "method-not-allowed",
"request_id": "req_6fe725fffa7d9b98"
}
}