Skip to main content

Errors

If a request cannot generate audio, the API returns a JSON error with a status, message, and request ID.

HTTP statusMeaningWhat to do
400A request value is invalid or unsupportedCheck the request values and try again
401The API key is missing or invalidCheck the API key
403The project cannot use Text to SpeechCheck the project’s available features
402Insufficient account balanceAdd funds and try again
429The request limit has been reachedWait briefly and try again
500The service could not generate audioTry again; contact support if the problem continues

If streaming stops unexpectedly, include the request ID when contacting support.