live_scope_required
HTTP status 403. This key cannot send real messages.
Fix
Ask the account owner to turn live sending on for this agent key, with a daily cap, in the dashboard under API keys, or remove 'live' from the request to keep working in test mode.
More
An agent key is in test mode unless the account owner granted it the verify:live scope and set a daily cap. A test key can never send a real message. This error appears only when the request says "live": true; without it the same request succeeds in test mode, sends nothing and costs nothing.
What it looks like
{
"error": {
"type": "live_scope_required",
"message": "This key cannot send real messages.",
"fix": "Ask the account owner to turn live sending on for this agent key, with a daily cap, in the dashboard under API keys, or remove 'live' from the request to keep working in test mode.",
"docs_url": "https://authtext.com.au/docs/errors/live_scope_required.md",
"request_id": "req_01JD3XA7Q2M7Q8R5T6V1W0XYZA"
}
}
The message and fix can be more specific than shown here. type never changes, so branch on that. Quote the request_id if you ask for help.
All errors: errors.
This page as markdown, for an AI agent: /docs/errors/live_scope_required.md