Errors
api_key_limit_reached
This workspace already has the maximum number of active API keys.
| HTTP status | Type | Code |
|---|---|---|
| 409 | conflict_error | api_key_limit_reached |
What it means
Each workspace can hold a limited number of unexpired API keys. Revoke a key you no longer use in the console (Settings → Developers), then create the new one.
How to handle it
Fetch the resource again to see its current state, then decide whether to retry.
Example response
{
"detail": "This workspace already has the maximum number of active API keys.",
"error": {
"type": "conflict_error",
"code": "api_key_limit_reached",
"message": "This workspace already has the maximum number of active API keys.",
"param": null,
"docUrl": "https://docs.callmitra.ai/errors/api_key_limit_reached",
"requestId": "req_3f9c2a7d1b8e4c6a9f0e2d4b6a8c0e1f"
}
}Branch on error.code; it never changes once published. The message text can change. See Errors for the envelope.
Returned by
Any endpoint can return this code.