Documentation

Error Codes & Rate Limiting

All API error codes with HTTP statuses, and rate limits per user type

Last updated: Feb 09, 2026

Error Codes & Rate Limiting

Error Codes

CodeHTTP StatusDescription
VALIDATION_ERROR422Request validation failed
INVALID_CREDENTIALS401Wrong email or password
UNAUTHORIZED401Missing or invalid token
USER_NOT_FOUND404User account not found
PRODUCT_NOT_FOUND404Product does not exist
PRODUCT_UNAVAILABLE403Product is disabled
CART_EMPTY400Cart has no items
INVALID_COUPON400Coupon code not valid
INSUFFICIENT_STOCK400Not enough stock
ORDER_NOT_FOUND404Order does not exist
INVALID_PASSWORD400Current password incorrect
AI_GENERATION_FAILED422AI description generation failed
NOT_FOUND404Generic resource not found
SERVER_ERROR500Internal server error

Rate Limiting

User TypeLimit
Guest (unauthenticated)60 requests/minute
Authenticated300 requests/minute
Login endpoint5 attempts/minute
Payment endpoints10 requests/minute

When rate limited, you'll receive a 429 Too Many Requests response.