Skip to content

Errors

Error codes returned by the REST API and the MCP tools.

Errors have the same shape in the REST API and in MCP tool results:

{
  "error": "invalid_composition",
  "message": "Komposisi belum bisa dirender. Perbaiki bagian yang disebut lalu kirim lagi.",
  "details": {
    "problems": [
      { "code": "remote_asset", "message": "Aset di luar file ini tidak bisa dimuat saat render: https://example.com/hero.jpg.", "hint": "Pakai vendor/ (GSAP, plugin, font bawaan), Google Fonts, komponen registry, SVG/CSS inline, atau gambar data:." }
    ]
  }
}

error is a stable code you can match on. message is written for people, in Indonesian. details is present when there is more to say, such as what to fix.

Code HTTP Meaning
unauthorized 401 No API key was sent.
invalid_api_key 401 The API key is not valid or was deleted.
insufficient_scope 403 The key or sign-in lacks the permission this call needs (videos:read, videos:create, or social:post for posting to social media).
forbidden 403 The request was refused.
invalid_input 400 / 409 / 422 The body does not match the schema, or a production-plan edit uses a stale revision (409). Read the current plan before updating it.
invalid_composition 422 The HTML cannot be rendered yet. details.problems lists each problem with a code and hint.
idempotency_conflict 409 The idempotency_key was used before with a different body.
project_edited 409 The video was edited in Studio after the version your HTML is based on. Read it again (get_project), apply your change to that source, and send it with base_version.
insufficient_credits 402 Not enough credits for this video.
too_many_active_renders 429 Two videos are already queued or rendering in this workspace.
duration_too_long 422 The video is longer than 60 seconds.
not_found 404 No such video, post or file in this workspace.
video_not_ready 409 The video has not finished rendering, so it cannot be posted yet.
voice_key_missing 409 No Gemini or ElevenLabs key is saved for voice-overs. details.settings_url is the dashboard page where an owner or admin saves one.
voice_key_invalid 422 The provider refused the workspace’s key.
voice_key_quota 429 The provider account behind the key has no quota left.
voice_failed 422 / 502 / 503 The provider could not speak this text (change it) or is unavailable.
social_unavailable 503 Posting to social media is not enabled on this server.
social_account_not_found 404 A social account is not connected to this workspace. details.account_ids names it.
social_account_expired 422 Access to a social account ended. Connect it again in the dashboard.
social_rejected 422 / 429 The platform refused the post. details.provider_code and provider_message say why.
social_post_not_editable 409 The requested edit is not allowed in this state. Drafts/scheduled posts can change before publishing; failed targets can receive options-only corrections, which retry them immediately. Published targets cannot be changed.
social_no_free_slot 422 No free posting time in the next 60 days. Add posting times in the dashboard.
upload_invalid 422 The file type or size is not allowed (JPG, PNG, WebP up to 8 MB; MP4, MOV up to 300 MB; MP3, M4A, WAV up to 50 MB), or a post was sent sound, which it cannot carry.
upload_not_ready 409 The file has not finished uploading.
media_limit 422 The workspace’s media is full (2 GB in storage). Delete files it no longer needs.
media_busy 429 Ten of the workspace’s uploads are already being prepared. Try again in a minute.
media_not_ready 409 The file is still being prepared for video.
media_failed 409 The file could not be prepared for video (too long, unreadable); the dashboard says why.
user_recipe_not_found 404 No such recipe of the workspace’s own (rcp_…) in this workspace.
user_recipe_not_ready 409 The workspace’s recipe is still being made from its reference video; details.status says how far.
user_recipe_limit 409 The workspace has reached its own-recipe limit. Reuse a ready recipe or delete one before reserving another.
research_unavailable 503 The native research service is not configured. The assistant can use its own browsing tools and save cited findings to a production plan instead.
research_limit 429 The workspace’s hourly research allowance is used up. Deep research consumes more of that allowance.
research_busy 429 Too many research calls are in flight, or the provider is rate limited. Wait before retrying.
research_failed 502 Research failed or returned no usable cited findings. Do not turn the missing answer into a factual claim.
media_is_reference 409 The file is a reference from the Playground (a video to look like): it is studied with inspect_media, never placed in a composition, a project or a post. In a composition this comes back as a problem of invalid_composition.
upstream_error 502 The publishing service had a problem. Try again shortly.
internal_error 500 Something failed on our side. Try again shortly.
cutout_not_video 422 make_cutout works on videos only.
cutout_range 422 The stretch is outside the video, shorter than 0.5 s, or longer than 6 s. details gives the limits and the video’s length.
cutout_busy 429 Another cutout of this workspace is still being made. Wait for it (inspect_media).
cutout_limit 429 The workspace made 20 cutouts in the last 24 hours.

A video that fails while rendering does not return an error to the request that created it: the video’s status becomes failed, its error explains why, and its credits are returned.

Navigation

Type to search…

↑↓ navigate↵ selectEsc close