What happened
The API refused your request because the API key you sent was revoked. A revoked key stays revoked: it can never be used again. Nothing was started.
Why it happens
- The key was revoked on the API Keys page. Revoking is permanent and takes effect at once.
- An AI app's connection was disconnected. Disconnecting an app ends its connection for good. You can do this under AI apps on the Connected apps page of the website.
- An AI app's connection ended on its own: it went unused for a long time, it reached its maximum age (a connection ends after a set time even if it is used every day), or the sign-in behind it ended (for example after a password change or signing out everywhere).
What to do
- Open the API Keys page of the API dashboard. The page lists only your active keys, so a revoked key is no longer there. Check which key your code is sending, and compare it with the names under Active Keys.
- Choose Create Key, give the new key a name, and copy it when it is shown. The full key is shown only once.
- Put the new key into your code or settings in place of the old one, then send the request again.
- To rotate a key without any gap in future, create the new key and use it first, then revoke the old one.
In Claude, ChatGPT and other AI apps
- If the app was set up with an API key in its settings, replace it with a new key as above.
- If the app signs in with your account and its connection was disconnected or ended, it has to ask you to sign in again. Reconnect the Scriptivox connector in the app and sign in. That makes a new connection. Your Connected apps page shows the connections that are still active.
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 name of the key as the API Keys page shows it (never the key itself), 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
401 API_KEY_REVOKED, answered at once on the request. Sending it again with the same key always gives the same answer: use a new key.
For a revoked key the message is This API key was revoked and can't be used again. Create a new one at https://platform.scriptivox.com/keys.
{
"error": {
"code": "API_KEY_REVOKED",
"message": "This API key was revoked and can't be used again. Create a new one at https://platform.scriptivox.com/keys",
"docs_url": "https://www.scriptivox.com/errors/api-key-revoked",
"help_id": "api-key-revoked",
"request_id": "req_6fe725fffa7d9b98"
}
}An AI-app connection that was disconnected or has ended gets this code too, with this sentence: This connection was revoked: it was disconnected, expired, or its sign-in ended. Sign in to Scriptivox again from the app to make a new connection. Repeated requests with a revoked key are paused for a while, like any key that keeps being refused, and the pause is answered with INVALID_API_KEY.