Skip to content
Pixii

Errors

Error response shape, HTTP status codes and the full Pixii error code reference.

Pixii uses conventional HTTP response codes to indicate the success or failure of an API request. Codes in the 2xx range indicate success. Codes in the 4xx range indicate an error with the information provided. Codes in the 5xx range indicate an error with Pixii’s servers.

Error response format

All errors return a consistent JSON body:

FieldTypeDescription
codestringMachine-readable error code. Use this to handle specific errors in your code
messagestringHuman-readable description of the error
detailstring or nullAdditional context about what went wrong. Present on validation errors and rate limit errors

Rate limit errors include an additional retry_after field.

HTTP status codes

StatusMeaning
200Request succeeded
400Bad request
401Unauthorized, missing or invalid API key
402Payment required, insufficient credits or plan does not allow
404Resource not found
429Too many requests, rate limit exceeded
500Internal server error
503Service temporarily unavailable

API errors

Returned in the top-level error envelope on a non-2xx HTTP response.

CodeHTTPDescriptionHow to fix
VALIDATION_ERROR400One or more request parameters are invalidCheck the detail field for which parameters failed and why
INVALID_IMAGE400An image is not a public http(s) URL or valid base64 bytesSend a public URL, or PNG, JPEG or WebP bytes under 10 MB
UNSUPPORTED_DELIVERABLE400A deliverable, platform, format or reference combination is not supportedCheck the detail field; it names the entry and the allowed values
NO_ACTIVE_BRAND400No active brand found for your organizationSet up a brand in your Pixii dashboard before making API requests
BRAND_NOT_FOUND404No active brand with this brand_id in your organizationPick an id from GET /v2/api/brands
UNAUTHORIZED401Missing or invalid API keyCheck your API key is correct and has not been revoked
INSUFFICIENT_CREDITS402Not enough credits to process this requestTop up your credits from your dashboard
SUBSCRIPTION_PAUSED402Your subscription is pausedResume it from Pixii settings
PAID_PLAN_REQUIRED402A+ Content or Scale on the free planUpgrade your plan
PLAN_LIMIT_REACHED402More than one product per Scale run requires the Scale planSend one product, or upgrade to the Scale plan
JOB_NOT_FOUND404Job not foundCheck the job ID is correct and belongs to your organization
RATE_LIMIT_MINUTE_EXCEEDED429Too many requests in the current minuteWait the number of seconds in retry_after before retrying
RATE_LIMIT_DAY_EXCEEDED429Daily request limit reachedWait until tomorrow or check retry_after for exact reset time
INTERNAL_ERROR500An unexpected error occurredRetry the request. Contact support if this persists
SERVICE_UNAVAILABLE503Service is temporarily unavailableWait a few minutes and retry

Job errors

Job errors are returned inside a successful (200) job payload; they have no HTTP status. They appear either as the job’s error object (when an entire job fails and its credits are refunded in full) or as a visual with status: "failed" (when an individual visual fails inside an otherwise completed job and that visual is refunded).

CodeDescriptionHow to fix
PRODUCT_NOT_FOUNDThe product is not in your Pixii accountGenerate something for it first, or check product_id, asin and country_code
PRODUCT_FETCH_ERRORUnable to fetch product data for the given ASINVerify the ASIN is correct and available on the target marketplace
PRODUCT_NOT_AVAILABLEProduct data is not available or invalidThe ASIN exists but product data could not be retrieved. Try a different ASIN
PRODUCT_ANALYSIS_ERRORFailed to analyze product dataRetry the request. Contact support if this persists
NO_VISUALS_FOUNDThe product has no completed visuals to downloadGenerate visuals for the product first
CONTENT_MODERATION_ERRORContent was flagged by moderationThe product or images were flagged. Try different images or contact support
IMAGE_GENERATION_ERRORFailed to generate one or more visualsCredits for failed visuals are automatically refunded. Retry the request
PROCESSING_ERRORUnable to process the requestRetry the request. Contact support if this persists