Overview
Overlap API endpoints return structured error responses when a request fails. This page lists common error codes you may receive across all integrations, what they mean, and the typical HTTP status codes/messages.Error response shape
errorCodeis the stable, programmatic identifier to key off of.messageis human-readable and may change slightly over time.- HTTP status codes generally align with the category (4xx client errors, 5xx server errors).
Error Code Reference
Auth / API Key
INVALID_API_KEY (401)
INVALID_API_KEY (401)
Missing or invalid
Typical messages:
Authorization header / API key for the endpoint or company.Typical messages:
"Missing API key", "Invalid API key".Request Validation (Generic)
INVALID_REQUEST (400)
INVALID_REQUEST (400)
Missing request body or required parameters (varies by endpoint).
Typical messages:
Typical messages:
"Missing request body", "Missing companyId parameter", "Missing clipId parameter".URL / Time Validation (Clip Generation)
INVALID_URL (400)
INVALID_URL (400)
Missing or invalid URL parameter.
Typical messages:
Typical messages:
"Missing URL parameter".INVALID_YOUTUBE_URL (400)
INVALID_YOUTUBE_URL (400)
URL appears to be YouTube but fails format validation.
Typical messages:
Typical messages:
"Invalid YouTube URL format".INVALID_TIME (400)
INVALID_TIME (400)
minimumTime / maximumTime out of allowed range.VIDEO_TOO_SHORT (400)
VIDEO_TOO_SHORT (400)
Video is shorter than the requested minimum clip length.
VIDEO_LENGTH_ERROR (400)
VIDEO_LENGTH_ERROR (400)
Couldn’t fetch or compute video length.
Typical messages: contains provider-specific detail about the failure.
Typical messages: contains provider-specific detail about the failure.
INSUFFICIENT_HOURS (403)
INSUFFICIENT_HOURS (403)
Team/company doesn’t have enough quota hours to process the request.
Typical messages: includes quota detail in the message.
Typical messages: includes quota detail in the message.
Task / Workflow Lookup + Authorization
TASK_NOT_FOUND (404)
TASK_NOT_FOUND (404)
Task ID doesn’t exist.
UNAUTHORIZED_ACCESS (403)
UNAUTHORIZED_ACCESS (403)
WORKFLOW_TRIGGER_NOT_FOUND (404)
WORKFLOW_TRIGGER_NOT_FOUND (404)
Workflow trigger ID not found.
Workflow Validation / Quotas
WORKFLOW_TRIGGER_LIMIT_REACHED (403)
WORKFLOW_TRIGGER_LIMIT_REACHED (403)
Company hit workflow trigger quota limit.
VALIDATION_ERROR (varies)
VALIDATION_ERROR (varies)
Workflow/company validation failed (validator returns the details).
Typical messages: depends on the specific validation failure.
Typical messages: depends on the specific validation failure.
WORKFLOW_NOT_FOUND (404)
WORKFLOW_NOT_FOUND (404)
Workflow document not found for the company.
Render Endpoint
MISSING_COMPANY_ID (400)
MISSING_COMPANY_ID (400)
/render missing companyId.MISSING_CLIP_ID (400)
MISSING_CLIP_ID (400)
/render missing clipId.EXCEEDED_RATE_LIMIT (429)
EXCEEDED_RATE_LIMIT (429)
Too many in-flight render jobs for the company.
Typical messages:
Typical messages:
"Render job limit reached...".CLIP_NOT_FOUND (404)
CLIP_NOT_FOUND (404)
Clip doc not found under
companies/{companyId}/clips/{clipId}.RENDER_FAILED (500)
RENDER_FAILED (500)
Rendering returned no URL.
Typical messages:
Typical messages:
"Failed to render video...".Playback Helper
REPLAY_URL_NOT_FOUND (404)
REPLAY_URL_NOT_FOUND (404)
Playback API returned 200 but no
replayHLSURL.PLAYBACK_API_ERROR (varies)
PLAYBACK_API_ERROR (varies)
Playback API returned a non-200 response.
Typical messages:
Typical messages:
"Failed to fetch playback data".INTERNAL_ERROR (500)
INTERNAL_ERROR (500)
Exception while calling the Playback API.
Typical messages:
Typical messages:
"Internal server error".Subtitles Endpoints
SUBTITLE_CONFIG_NOT_FOUND (422)
SUBTITLE_CONFIG_NOT_FOUND (422)
Clip exists but has no
subtitleConfig.INVALID_STYLE_ID_TYPE (400)
INVALID_STYLE_ID_TYPE (400)
subtitleConfig.styleId exists but isn’t a string.INVALID_SUBTITLE_CONFIG (400)
INVALID_SUBTITLE_CONFIG (400)
subtitleConfig in the request is not a JSON object (dict).CLIP_NOT_FOUND (404)
CLIP_NOT_FOUND (404)
Clip not found when fetching or updating subtitles.
SERVER_ERROR (500)
SERVER_ERROR (500)
Failure retrieving/updating subtitle configuration.
Typical messages:
Typical messages:
"Failed to retrieve/update subtitle configuration: ...".Server / Processing Failures
SERVER_ERROR (500)
SERVER_ERROR (500)
Unhandled exception in an endpoint.
Typical messages: often the exception string.
Typical messages: often the exception string.
TRIGGER_ERROR (500)
TRIGGER_ERROR (500)
Exception while processing a workflow trigger request.
Typical messages:
Typical messages:
"Failed to process workflow trigger: ...".KEY_GENERATION_ERROR (500)
KEY_GENERATION_ERROR (500)
Failure generating an API key.
Typical messages:
Typical messages:
"Failed to generate API key: ...".Recommended Client Handling
Retryable (usually)
SERVER_ERROR,TRIGGER_ERROR,INTERNAL_ERRORPLAYBACK_API_ERRORwhen the HTTP status is 5xx
Fix request and retry
INVALID_REQUEST,INVALID_URL,INVALID_YOUTUBE_URL,INVALID_TIME,INVALID_SUBTITLE_CONFIG
Auth / permissions
INVALID_API_KEY,UNAUTHORIZED_ACCESS
Quotas / throttling
INSUFFICIENT_HOURS,WORKFLOW_TRIGGER_LIMIT_REACHED,EXCEEDED_RATE_LIMIT