تخطَّ إلى المحتوى

Errors

هذا المحتوى غير متوفر بلغتك بعد.

Error Format

All errors follow a consistent format:

{
"error": {
"message": "Human-readable error description",
"type": "error_type",
"code": "specific_code"
}
}

Authentication Errors

StatusTypeCauseAction
401invalid_api_keyMissing or invalid API keyCheck your API key
401api_key_revokedKey has been revokedCreate a new key
403insufficient_scopeKey lacks required scopeAdd required scope to key
403workspace_disabledWorkspace is disabledContact your admin

Permission Errors

StatusTypeCauseAction
403forbiddenNot permittedCheck workspace membership
404not_foundResource not found or not accessibleVerify the ID and workspace

Provider Errors

StatusTypeCauseAction
503provider_unavailableNo healthy upstream sessionCheck connection status
503shutting_downServer shutting downRetry shortly
502upstream_errorProvider returned an errorRetry or check connection

Quota & Rate Limit Errors

StatusTypeCauseAction
429rate_limit_exceededToo many requestsSlow down request rate
429quota_exceededUsage quota exceededWait for quota reset
503plan_does_not_allow_audioPlan doesn’t include audioUpgrade plan

File Validation Errors

StatusTypeCauseAction
400audio_validation_failedInvalid audio fileCheck format and size
400file_too_largeFile exceeds size limitUse a smaller file
415unsupported_media_typeMIME type not supportedCheck supported formats

Audio Generation Errors

StatusTypeCauseAction
400validation_errorInvalid TTS requestCheck voice and text
404job_not_foundJob ID not foundVerify job ID
409job_not_readyJob not completed yetPoll until completed
404asset_not_foundAudio asset not foundCheck job status

Transcription Errors

StatusTypeCauseAction
503transcription_disabledFeature disabledContact admin
503transcription_provider_unavailableNo providerCheck connections
504transcription_timeoutTimeoutTry a shorter audio

Next Steps