Error Codes

Complete reference of 44 error codes across 11 categories returned by the Studio Service.

Error response formatjson
{
  "error": {
    "code": "STUDIO_1000",
    "message": "Image prompt is empty, exceeds limit, or contains forbidden content",
    "http": 400
  }
}

Image GenerationSTUDIO_1000-1099

CodeHTTPNameDescriptionResolution
STUDIO_1000400INVALID_PROMPTImage prompt is empty, exceeds limit, or contains forbidden contentCheck prompt length (max 4000 chars) and content guidelines
STUDIO_1001400INVALID_DIMENSIONSRequested width/height is outside supported rangeUse standard sizes: 256, 512, 1024, or 1792 pixels
STUDIO_1002502IMAGE_PROVIDER_ERRORUpstream image provider (DALL-E, Stable Diffusion, Ideogram) returned an errorRetry; provider failover may activate automatically
STUDIO_1003504IMAGE_GENERATION_TIMEOUTImage generation timed out before completionRetry with lower resolution or simpler prompt

Video GenerationSTUDIO_1100-1199

CodeHTTPNameDescriptionResolution
STUDIO_1100400INVALID_VIDEO_PROMPTVideo prompt is empty or exceeds maximum lengthCheck prompt length and content guidelines
STUDIO_1101400INVALID_DURATIONVideo duration is outside supported rangeUse duration between 3 and 60 seconds
STUDIO_1102502VIDEO_PROVIDER_ERRORUpstream video provider (Runway, Pika, HeyGen) returned an errorRetry; check provider status at GET /providers/health

Audio & VoiceSTUDIO_1200-1299

CodeHTTPNameDescriptionResolution
STUDIO_1200400INVALID_TTS_INPUTText-to-speech input is empty or exceeds character limitLimit text to 5000 characters per request
STUDIO_1201400UNSUPPORTED_LANGUAGERequested language is not supported for TTSUse GET /audio/languages for supported languages
STUDIO_1202502AUDIO_PROVIDER_ERRORAudio provider (ElevenLabs, AWS Polly) returned an errorRetry with a different voice or provider
STUDIO_1203404VOICE_MODEL_NOT_FOUNDSpecified voice model ID does not existUse GET /voice-models to list available models

Music GenerationSTUDIO_1300-1399

CodeHTTPNameDescriptionResolution
STUDIO_1300400INVALID_MUSIC_PROMPTMusic generation prompt is invalid or emptyProvide a descriptive prompt (genre, mood, instruments)
STUDIO_1301502MUSIC_PROVIDER_ERRORMusic provider (Suno AI) returned an errorRetry; Suno API may be temporarily unavailable

Templates & ProjectsSTUDIO_1400-1499

CodeHTTPNameDescriptionResolution
STUDIO_1400404TEMPLATE_NOT_FOUNDSpecified template does not exist or is not accessibleVerify template ID; check tenant permissions
STUDIO_1401404PROJECT_NOT_FOUNDSpecified project does not exist or is not accessibleVerify project ID; check tenant permissions
STUDIO_1402409TEMPLATE_NAME_EXISTSA template with this name already exists for this tenantUse a different template name

Render JobsSTUDIO_1500-1599

CodeHTTPNameDescriptionResolution
STUDIO_1500404JOB_NOT_FOUNDRender job does not existVerify job ID from the creation response
STUDIO_1501409JOB_ALREADY_COMPLETEDCannot retry a job that completed successfullyCreate a new job instead of retrying
STUDIO_1502429JOB_QUEUE_FULLRender job queue is at capacityWait for existing jobs to complete, then retry

Quota & CreditsSTUDIO_1600-1699

CodeHTTPNameDescriptionResolution
STUDIO_1600429RATE_LIMIT_EXCEEDEDRate limit exceeded for this tenant or userImplement exponential backoff; check Retry-After header
STUDIO_1601402INSUFFICIENT_CREDITSInsufficient AI credits in wallet for this generationPurchase additional credits or upgrade subscription tier
STUDIO_1602429QUOTA_EXCEEDEDMonthly generation quota exceeded for this subscription tierUpgrade subscription tier or wait for quota reset
STUDIO_1603403FEATURE_DISABLEDThis generation feature is disabled for the current tenantContact admin to enable the feature flag

AuthenticationSTUDIO_1700-1799

CodeHTTPNameDescriptionResolution
STUDIO_1700401UNAUTHORIZEDAuthentication requiredProvide a valid JWT token in Authorization header
STUDIO_1701403FORBIDDENInsufficient permissions for this operationRequest required role from admin
STUDIO_1702401INVALID_TOKENInvalid or expired authentication tokenObtain a fresh JWT token via auth-svc
STUDIO_1703403TIER_INSUFFICIENTCurrent subscription tier does not support this featureUpgrade to Pro or Enterprise tier

IntegrationsSTUDIO_1800-1899

CodeHTTPNameDescriptionResolution
STUDIO_1800502CANVA_API_ERRORCanva API returned an error during import/exportCheck Canva connection settings and retry
STUDIO_1801502GOOGLE_WORKSPACE_ERRORGoogle Workspace export failedVerify Google OAuth token is valid and retry
STUDIO_1802502SOCIAL_PUBLISH_ERRORSocial media publishing failedCheck platform credentials and content guidelines

ValidationSTUDIO_1900-1999

CodeHTTPNameDescriptionResolution
STUDIO_1900400VALIDATION_FAILEDRequest validation failedCheck request body against API docs
STUDIO_1901400MISSING_REQUIRED_FIELDRequired field is missingAdd the required field to the request body
STUDIO_1902413FILE_TOO_LARGEUploaded file exceeds maximum size limitReduce file size (max 50MB for images, 500MB for video)

GeneralSTUDIO_2000-2099

CodeHTTPNameDescriptionResolution
STUDIO_2000500INTERNAL_SERVER_ERRORInternal server errorRetry; if persistent, contact support with request_id
STUDIO_2001503SERVICE_UNAVAILABLEService temporarily unavailableRetry with exponential backoff
STUDIO_2002500DATABASE_ERRORDatabase operation failedRetry; Aurora Serverless may be scaling up