Common errors
400 Invalid request
The request body failed validation. Examples:- Missing
prompt. - More than 100 attachments.
- Invalid attachment URL.
- Non-YouTube
style_reference_url.
401 Authentication required
The request did not include a valid API key or OAuth access token for this resource.402 Insufficient credits
A credit-paused job cannot resume until the API key owner adds enough credits. Purchase credits and configure auto top-ups in the Motion web app at motion.so. Flex packs and standard manual top-ups cost $6 per 200 credits (3¢ per credit). Credit purchasing and auto top-up settings are not available through the API. Example:404 Job not found
The job does not exist or is not owned by the API key user.409 Followup requires completed job
Followups can only be created for jobs that arecompleted or awaiting_user_input.
500 Internal server error
The job could not be created or read due to an internal service error.Validation error example
403 Engine access required
An explicit engine choice is not available to your account. ReadGET /engines or MCP list_engines to see your available engines. API keys, OAuth authorization, and credits do not grant engine access.
Engine and template errors
Invalid inputs return HTTP 400. Engine access errors return HTTP 403. MCP reports these failures as tool errors; read the returned code and message. Plan errors such asmotion_pro_feature_required can be returned when applying paid features; omit the feature or use an eligible plan.
Automation errors
Automation errors contain a readablemessage and a stable error code:
Only schedule automations support manual invocations. Channel runs need a real event. Only failed or blocked attempts can be retried. Read Automations for request examples and run states.