When something goes wrong with a workflow, Copelf returns structured error responses with machine-readable codes. This page covers every error code, its meaning, and how to resolve it.
Error Response Format
All API errors follow a consistent JSON structure:
{
"code": "workflow_not_found",
"message": "The requested workflow does not exist.",
"requestId": "req_abc123",
"details": null
}| Field | Type | Description |
|---|---|---|
code | string | Machine-readable error code (see tables below). |
message | string | Human-readable description of what went wrong. |
requestId | string | Optional. Unique identifier for support tickets. |
details | unknown | Optional. Additional context about the error. |
Always include the requestId when contacting support -- it helps the team
locate your request in logs quickly.
Authentication Errors
| Code | HTTP Status | Description |
|---|---|---|
unauthenticated | 401 | No valid session or token provided. |
forbidden | 403 | You lack permission for this action. |
unauthenticated
Causes:
- Your session has expired.
- You are not signed in.
- The request was made without valid authentication headers.
Fixes:
- Sign in again at copelf.com.
- If using the browser extension, ensure it is connected to your Copelf account.
- Clear your browser cookies and sign in fresh if the issue persists.
forbidden
Causes:
- You are trying to access a workflow or resource owned by another user.
- Your account does not have the required role or plan.
Fixes:
- Verify you are signed in with the correct account.
- Check that you own or have been granted access to the resource.
Workflow Errors
| Code | HTTP Status | Description |
|---|---|---|
workflow_not_found | 404 | The workflow ID does not exist. |
workflow_not_ready | 400 | The workflow has not finished analysis yet. |
workflow_already_running | 409 | A run is already in progress for this workflow. |
workflow_has_active_requests | 409 | The workflow has pending requests that must complete. |
workflow_not_found
Causes:
- The workflow was deleted.
- The workflow ID in the URL or API call is incorrect.
Fixes:
- Double-check the workflow ID.
- Open your Dashboard and confirm the workflow still appears in your list.
workflow_not_ready
Causes:
- The uploaded video is still being analyzed by the AI.
- Analysis failed silently.
Fixes:
- Wait for the analysis to complete -- this typically takes 1-3 minutes depending on video length.
- If the status stays on "Analyzing" for more than 10 minutes, try re-uploading the video.
workflow_already_running
Causes:
- You attempted to start a run while a previous run is still executing.
Fixes:
- Wait for the current run to finish, or cancel it first.
- Check the Runs tab to see the active run's status.
workflow_has_active_requests
Causes:
- The workflow has pending approval requests or other active operations.
Fixes:
- Navigate to the workflow's Runs tab and resolve any pending approval requests.
- Wait for all active requests to complete before making changes.
Batch Errors
| Code | HTTP Status | Description |
|---|---|---|
batch_not_found | 404 | The batch ID does not exist. |
batch_already_completed | 409 | The batch has already finished executing. |
batch_not_found
Fixes:
- Verify the batch ID is correct.
- Check your Batches list to confirm it exists.
batch_already_completed
Fixes:
- A completed batch cannot be restarted. Create a new batch if you need to run the same iterations again.
Credit & Billing Errors
| Code | HTTP Status | Description |
|---|---|---|
insufficient_credits | 400 | Your account does not have enough credits. |
checkout_failed | 400 | The payment checkout process failed. |
no_stripe_customer | 400 | No billing profile is linked to your account. |
price_not_found | 404 | The requested pricing plan was not found. |
insufficient_credits
Fixes:
- Check your current credit balance on the Billing page.
- Purchase additional credits or apply a coupon code.
checkout_failed
Fixes:
- Verify your payment method is valid and has sufficient funds.
- Try a different payment method.
- If the issue persists, contact support with your
requestId.
no_stripe_customer
Fixes:
- Navigate to Settings > Billing and set up your billing profile.
- This usually happens on first purchase -- completing the checkout flow will create the profile automatically.
price_not_found
Fixes:
- The pricing plan you selected may have been retired. Refresh the pricing page and select a current plan.
Coupon Errors
| Code | HTTP Status | Description |
|---|---|---|
coupon_not_found | 404 | The coupon code does not exist. |
coupon_inactive | 400 | The coupon exists but is not active. |
coupon_expired | 400 | The coupon has passed its expiration date. |
coupon_max_redemptions_reached | 400 | The coupon has been fully redeemed. |
coupon_already_redeemed | 400 | You have already used this coupon. |
Common fixes for coupon errors
- Double-check the coupon code for typos.
- Verify the coupon is still within its valid date range.
- Each coupon can only be redeemed once per account -- if you see
coupon_already_redeemed, the credits should already be in your balance. - If you believe there is an error, contact support with the coupon code and your
requestId.
General Errors
| Code | HTTP Status | Description |
|---|---|---|
bad_request | 400 | The request body or parameters are invalid. |
unprocessable_entity | 422 | The request is well-formed but semantically invalid. |
not_found | 404 | The requested resource does not exist. |
conflict | 409 | The request conflicts with the current state. |
timeout | 408 | The operation timed out. |
internal | 500 | An unexpected server error occurred. |
bad_request
Check the details field for specifics. Common causes:
- Missing required fields in the request body.
- Invalid field types (e.g., sending a string where a number is expected).
unprocessable_entity
The request structure is correct, but the values are not valid:
- A variable name that conflicts with a reserved keyword.
- An input value that fails validation rules.
timeout
Fixes:
- The operation took too long to complete. Retry after a short wait.
- For long-running workflows, consider breaking them into smaller steps.
internal
Fixes:
- This is a server-side issue. Retry the operation after a few seconds.
- If the error persists, contact support with the
requestId.
Common Issues
Extension not connected -- If your runs stay in "Queued" indefinitely, make sure the Copelf browser extension is installed, enabled, and signed in to the same account. The extension must be running for workflows to execute.
Video too large -- Uploads are limited to 300 MB and 15 minutes in length. If your recording exceeds these limits, trim the video before uploading. Focus on recording only the essential steps.
Analysis stuck -- If your workflow stays in the "Analyzing" state for more than 10 minutes, the analysis may have encountered an issue. Try deleting the workflow and re-uploading the video. Ensure the video clearly shows each browser action without excessive scrolling or fast mouse movements.
Run staying in "Queued" -- Runs are executed through your browser extension. A run will remain in the "Queued" state until the extension picks it up. Confirm: 1. The extension is installed and active. 2. You are signed in to the extension with the same account. 3. Your browser is open and not in sleep mode.