Reference
GET
/reference/failure-codes

The error.code values a failed job reports, with a human title and the action that clears each one: upgrade, credits, connect, configure or none. These are the same codes a 400 carries when the same limit is hit synchronously.

Authorization

bearerAuth
AuthorizationBearer <token>

An API key created under Settings > API & Webhooks. Keys start with sf_live_.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/reference/failure-codes"
{  "data": [    {      "code": "warning-trial-daily-limit",      "title": "Daily trial limit reached",      "action": "upgrade"    },    {      "code": "warning-no-credits",      "title": "Out of credits",      "action": "credits"    },    {      "code": "warning-plan-duration",      "title": "Video too long for your plan",      "action": "upgrade"    },    {      "code": "warning-plan-render-time",      "title": "Video too long to render on your plan",      "action": "upgrade"    },    {      "code": "warning-plan-renders",      "title": "Monthly render limit reached",      "action": "upgrade"    },    {      "code": "warning-plan-generations",      "title": "Monthly generation limit reached",      "action": "upgrade"    },    {      "code": "warning-plan-automations",      "title": "Automation limit reached",      "action": "upgrade"    },    {      "code": "warning-plan-publish",      "title": "Publishing needs a paid plan",      "action": "upgrade"    },    {      "code": "warning-source-not-ready",      "title": "Source video is not ready",      "action": "none"    },    {      "code": "warning-publish-not-configured",      "title": "No publishing destination",      "action": "configure"    },    {      "code": "warning-publish-no-accounts",      "title": "No connected account",      "action": "connect"    },    {      "code": "warning-publish-auth",      "title": "Reconnect your social account",      "action": "connect"    }  ]}