Api Exception
Base class for a non-successful HTTP response from ElevenLabs.
details contains the complete structured response. kind provides a stable category for application-level handling, while statusCode and errorCode remain available for precise protocol-specific decisions.
Inheritors
Types
ElevenLabs rejected a malformed or invalid request with HTTP 400.
The credentials do not grant access to the requested resource (HTTP 403).
The requested ElevenLabs resource does not exist (HTTP 404).
The account has insufficient credits or quota (HTTP 402).
Too many requests were made (HTTP 429).
ElevenLabs failed to process the request (HTTP 5xx).
Authentication is missing or invalid (HTTP 401).
A non-success HTTP status not covered by a more specific subtype.
ElevenLabs rejected one or more fields (HTTP 422).
Properties
Complete parsed server error details.
Whether retrying the same operation may succeed without changing the request.
Stable category intended for application-level handling.