Skip to content

Errors

Splixir returns structured JSON errors with an HTTP status code, machine-readable code, human-readable message, actionable hint, retryable boolean, requestId, and docsUrl. Explore schema definitions in the REST API reference.

{
"error": {
"code": "validation_error",
"message": "Invalid request payload",
"hint": "Inspect error.details.issues or fetch GET /v1/capabilities for valid operation schemas.",
"retryable": false,
"requestId": "req_01j8y9z...",
"docsUrl": "https://docs.splixir.com/reference/errors#validation_error",
"details": {
"issues": [
{ "path": "operations.0.width", "message": "Number must be greater than or equal to 64" }
]
}
}
}
Status Meaning Billed
400 Malformed JSON, validation error, or upload size/part error $0.00
401 Missing or invalid API key $0.00
402 Insufficient wallet balance, PAYG milestone threshold unmet, or key spend cap hit $0.00
403 Insufficient scope, plan entitlement required, or replay window expired $0.00
404 Job, report, bucket, key, webhook, upload session, or delivery not found $0.00
409 State conflict or Idempotency-Key reused with a different request payload $0.00
410 Multipart upload session expired $0.00
422 Unprocessable input URL, SSRF block, incompatible pools, or expiring parent job $0.00
429 Rate limit, concurrency limit, or webhook replay limit exceeded $0.00
500, 502, 503 Transient server or compute dispatch failure $0.00
Code HTTP Meaning
missing_auth 401 Missing Authorization: Bearer splx_... header
invalid_api_key 401 API key format invalid, unknown, or revoked
insufficient_scope 403 Key lacks required scope (jobs:write, jobs:read, billing:read, or webhooks:manage)
feature_unavailable 400 Requested preview feature (such as test API keys) is unavailable

Retry guidance: Fix credentials or add scopes in Console keys before retrying.

Code HTTP Meaning
insufficient_balance 402 Available USD balance is below the estimated job cost
insufficient_purchased_balance 402 Purchased balance is below the PAYG concurrency unlock threshold
api_key_spend_cap_exceeded 402 Key reached its monthly USD spend cap
plan_upgrade_required 403 Feature (flex on Scale/Studio, buckets, or replay) requires higher tier
retention_limit_exceeded 403 Requested retainDays exceeds account maximum
api_key_limit_reached 403 Account reached active API key limit for its tier
bucket_limit_reached 403 Account reached saved BYO bucket limit for its tier
replay_window_expired 403 Webhook delivery is older than your tier’s replay window

Retry guidance: Top up in Console billing, raise the key cap, or upgrade your plan before retrying.

Code HTTP Meaning
invalid_json 400 Request body is not valid JSON
validation_error 400 One or more request fields failed schema validation
file_too_large 400 Declared or uploaded file exceeds your tier’s size limit
unsupported_content_type 400 Upload MIME type is not supported
invalid_part_size 400 Multipart partSizeBytes outside 5 MiB to 500 MiB
too_many_parts 400 Multipart upload requires more than 100 parts
invalid_part_number 400 Part number outside 1 to totalParts
duplicate_part_number 400 Duplicate part numbers in completion payload
incomplete_parts 400 Missing one or more parts during multipart completion
invalid_idempotency_key 400 Idempotency-Key exceeds 128 characters
incompatible_operation_pools 422 Operations span multiple compute pools; split into chained jobs using { "jobId": "..." }
flex_not_eligible 422 Category (such as ai.*) is excluded from Flex -30% pricing
parent_job_not_delivered 422 Chained parent job has not reached delivered or partial state
source_artifact_not_found 422 Chained parent job has no delivered output matching the requested label
source_artifact_not_in_staging 422 Chained parent output was delivered externally and has no hosted artifact
source_artifact_expiring_soon 422 Chained parent artifact expires within 1 hour
invalid_url 422 Input, destination, or webhook URL is malformed
ssrf_blocked 422 URL targets private/loopback/metadata IPs, embeds credentials, or uses non-HTTP(S) scheme
input_unreachable 422 Remote input fetch failed or exceeded 5 redirect hops
unsupported_format 422 Media format is not supported for this category
dimensions_exceeded 422 Image exceeds 100 megapixels or 16,384 px per side
unsafe_svg 422 SVG contains <!DOCTYPE> or <!ENTITY> declarations
invalid_bucket_endpoint 422 Bucket endpoint is not a clean HTTPS origin URL
invalid_bucket_prefix 422 Bucket prefix contains invalid characters or traversal segments
invalid_object_key 422 Output objectKey contains invalid characters or traversal segments

Retry guidance: Fix validation and SSRF errors before retrying. Retry input_unreachable only after confirming the origin server is reachable.

Code HTTP Meaning
job_not_found 404 Job ID does not exist for this account
parent_job_not_found 404 Chained jobId does not exist for this account
capability_not_found 404 Unknown capability category
account_not_found 404 Account not found
key_not_found 404 API key ID not found
webhook_not_found 404 Webhook endpoint ID not found
report_unavailable 404 Job ended as failed, rejected, or canceled without a verification report
bucket_not_found 404 Storage bucket ID not found
upload_not_found 404 Multipart upload session not found
delivery_not_found 404 Webhook delivery ID not found
idempotency_key_mismatch 409 Idempotency-Key reused with a different request body within 24 hours
already_delivered 409 Delivered or partial jobs cannot be canceled
report_not_ready 409 Job is still active and has no report yet
bucket_name_exists 409 A saved bucket with that name already exists
upload_not_active 409 Multipart upload is already completed, aborted, or expired
upload_already_completed 409 Completed multipart uploads cannot be aborted
upload_expired 410 Multipart upload session expired after 24 hours
Code HTTP Meaning
rate_limited 429 Requests per minute exceeded tier limit
concurrency_limit_exceeded 429 Active jobs reached tier concurrency limit
replay_limit_exceeded 429 Webhook delivery reached max 5 replays
replay_rate_limited 429 Account reached max 20 webhook replays per hour

Authenticated API responses include these standard headers:

Header Description
X-Request-Id Request correlation ID (req_...)
X-RateLimit-Limit Requests allowed per 60-second window
X-RateLimit-Remaining Requests remaining in the current window
X-RateLimit-Reset Unix timestamp (seconds) when the window resets
X-Splixir-Concurrency-Active Active non-terminal jobs on your account
X-Splixir-Concurrency-Limit Maximum concurrent jobs allowed on your account
Retry-After Seconds to wait before retrying (on 429)

Pass Idempotency-Key on POST https://api.splixir.com/v1/jobs when retrying after network timeouts or 5xx responses. Splixir deduplicates matching requests for 24 hours and returns the original job with Idempotent-Replayed: true. Reusing a key with a different payload returns 409 idempotency_key_mismatch.