Skip to main content
Every error is an RFC 9457 problem sent as application/problem+json. The body’s request_id matches the X-Request-Id response header, and type links to the code’s section on this page.
Branch on code, never on title or detail. code and status are stable for v1; title is the catalog’s short name for the code and detail says what went wrong in this request. param names the field, query parameter or header at fault, or is null. Log request_id, status and code. Never log the Authorization header, source media or generated caption text.
The same catalog is machine-readable: the OpenAPI document publishes it as x-joip-error-codes, a list of { code, status, title, retryable, description }.

How to read “Retryable”

Yes means the same request can succeed later without any change. Wait for Retry-After when it is sent, otherwise back off with jitter, and for job creation reuse the same Idempotency-Key so a retry can never create a second job. The official SDKs retry 429 and 503 for you. No means the request fails the same way until you change it, the key, or the account.

Every error code

method_not_allowed

405, not retryable. The HTTP method isn’t allowed on this route. /, /status and /openapi.json accept only GET and HEAD, and OPTIONS preflight requests are always refused because the API never serves browsers. Use the method shown for the operation in the API reference.

browser_access_not_allowed

403, not retryable. The request carried an Origin header, which means it came from a browser. The API serves server-side clients only. Move the call to your backend and keep the key there; never call the API from a web page or mobile app.

session_auth_not_allowed

401, not retryable. The request carried a Cookie header when it reached Joip’s edge. A signed-in Joip web session never authenticates API requests. Remove every cookie and send Authorization: Bearer joip_live_... instead. 401, not retryable. The request reached the API service with cookie credentials. Remove the Cookie header and authenticate with a Bearer API key only.

json_required

415, not retryable. A request body must be sent with Content-Type: application/json. Set that header on every POST.

invalid_json

400, not retryable. The body isn’t valid JSON. Serialize it with your language’s JSON encoder rather than building the string by hand, and check for trailing commas or unescaped quotes.

invalid_content_length

400, not retryable. The Content-Length header isn’t a non-negative integer. Let your HTTP client set it, or remove it.

request_too_large

413, not retryable. JSON bodies can’t exceed 1 MiB. A caption request holds at most ten URLs, so a body this large usually means something else was sent by mistake. Send only the documented fields.

not_found

404, not retryable. No API route exists at this path. Check the path and its /v1 prefix against the OpenAPI document.

route_not_available

404, not retryable. The path is reserved for an operation that isn’t part of API v1. Only the operations in the OpenAPI document are live; asset uploads, sessions, Censor, BabeCock, Undress, sharing and webhooks aren’t public yet.

invalid_api_key

401, not retryable. The Bearer credential is missing, malformed, unknown, expired or revoked. Send Authorization: Bearer joip_live_... with the full key exactly as revealed. If the key expired or was revoked, create a new one in the API dashboard. Repeated invalid keys from one address lead to rate_limit_exceeded.

insufficient_scope

403, not retryable. The key doesn’t grant the scope this operation requires, for example a read-only key calling POST /v1/captions/generate. Create a key with the scope listed on the operation; an existing key never gains scopes.

ip_not_allowed

403, not retryable. The key has an IP allowlist and the calling address isn’t on it. Call from an allowed server, or create a key whose allowlist includes this server’s public address.

invalid_allowed_ips

400, not retryable. The key’s stored IP allowlist can’t be evaluated. Revoke the key in the dashboard and create a new one with a valid allowlist.

invalid_forwarded_address

400, not retryable. Joip couldn’t verify the client address forwarded by its edge. Send requests directly to https://api.joip.io without adding your own X-Forwarded-For or similar headers. Contact support with the request ID if it continues.

api_account_suspended

403, not retryable. The Joip account that owns this key is inactive or unavailable. Sign in to Joip to restore access; no key on the account works until it is active again.

account_not_found

404, not retryable. The Joip account for this key no longer exists. Keys stop working when their account is deleted. Create a new account and key.

credits_not_found

404, not retryable. The account has no credit balance yet. Sign in to Joip once in a browser to create it, then retry.

invalid_request

400, not retryable. The JSON body failed validation. detail names the first failing field and why, for example media_urls[0] must be an https:// URL., and param names the top-level field. Fix that field using the operation’s schema.

invalid_query

400, not retryable. A query parameter is unknown or has an invalid value, for example limit=500, state=done or include=everything. param names the parameter. Valid values are listed on Jobs and Pagination.

invalid_path

400, not retryable. A path parameter is malformed, for example a job_id that isn’t a UUID. Use the id exactly as Joip returned it.

invalid_cursor

400, not retryable. The cursor is malformed, altered, or belongs to another list. Pass next_cursor back unchanged to the same route, and never build or decode one.

invalid_idempotency_key

400, not retryable. The Idempotency-Key header is missing or isn’t 8 to 255 characters. Send one on every POST; a UUID works.

media_unavailable

400, not retryable. A media URL doesn’t point to a publicly reachable HTTPS host. Private, internal, loopback and unresolvable hosts are refused before any credits are reserved. param is media_urls, or items for rewrites. Host the image on a public HTTPS server. A URL that passes this check but fails later, during processing, fails only that item at zero credits (see item errors).

job_not_found

404, not retryable. No job with this ID exists for the account that owns the key. Jobs are account-scoped, so another account’s job ID returns this too. Check you’re using the key of the account that created the job.

idempotency_conflict

409, not retryable. This Idempotency-Key was already used with a different request body. To retry, send the original body unchanged. For genuinely new work, use a new key.

idempotency_in_progress

409, retryable. A request with this Idempotency-Key is still being accepted. Wait a second and retry with the same key and body; you receive the original job with Idempotent-Replayed: true.

insufficient_credits

402, not retryable. The account doesn’t have enough available credits for this request, and nothing was reserved. Buy credits, wait for running jobs to release their reservations, or submit fewer items. GET /v1/credits shows what is available.

rate_limit_exceeded

429, retryable. The key sent more than 120 requests this minute, or your address sent more than 30 requests with a missing or invalid key. Wait Retry-After seconds. Watch X-RateLimit-Remaining to slow down before you reach the limit, and fix the key if this followed invalid_api_key errors.

admission_unavailable

429, retryable. The account reached its hourly allowance: 10 jobs from this UTC hour still in progress, or 1,000 media items submitted this hour. Nothing was reserved. Wait Retry-After seconds (up to 30 while jobs finish, or until the next hour when the item allowance is used) and retry with the same Idempotency-Key.

pricing_unavailable

503, retryable. Joip couldn’t load the current server-authoritative caption price, so nothing was reserved. Retry shortly with the same Idempotency-Key. Never fall back to a cached price.

queue_unavailable

503, retryable. The job was recorded but couldn’t be queued. Wait Retry-After seconds and retry the same body with the same Idempotency-Key; Joip resumes the recorded job instead of creating a second one.

api_ingress_unavailable

503, retryable. The API service couldn’t verify the request came through Joip’s edge. This is on Joip’s side. Retry with backoff; your key is fine and doesn’t need rotating.

api_not_configured

503, retryable. Joip’s edge isn’t configured to reach the API service. This is on Joip’s side. Retry with backoff and check status.

invalid_acceptance_contract

502, retryable. The API service returned an incomplete job acceptance. Retry with the same Idempotency-Key and body to receive the job.

invalid_upstream_response

502, retryable. Joip’s edge received a response from the API service it couldn’t pass on. Retry with backoff, reusing the Idempotency-Key for job creation.

internal_error

500, retryable. Joip couldn’t complete the request. Retry with backoff, reusing the Idempotency-Key for job creation. If it continues, send support the request_id.

Job and item errors

These codes aren’t HTTP errors. A request that reads a job succeeds with 200, and a failed item carries a sanitized error with only code and message. A job can carry the same error shape. Provider payloads and credentials are never exposed. Failed items cost nothing: only completed items settle credits.