createa.meme

Errors

Error codes, HTTP statuses, and how to handle them.

Envelope

Every error follows this shape:

{
  "success": false,
  "error": {
    "code": "INSUFFICIENT_CREDITS",
    "message": "You have 0 credits remaining. Please upgrade your plan.",
    "doc_url": "https://docs.createa.meme/errors/insufficient-credits"
  }
}

Codes

CodeHTTPMeaning
INVALID_API_KEY401Key doesn't exist or is revoked
EXPIRED_API_KEY401Key has passed its expiration date
SUSPENDED_API_KEY403Key suspended for abuse or non-payment
RATE_LIMITED429Too many requests per minute
INSUFFICIENT_CREDITS402Not enough credits for this operation
VALIDATION_ERROR400Request body failed schema validation
TEMPLATE_NOT_FOUND404Template ID doesn't exist
JOB_NOT_FOUND404Async job ID doesn't exist
GENERATION_FAILED500AI model returned an error
MODEL_UNAVAILABLE503Requested AI model is temporarily down
NSFW_REJECTED422Content flagged by moderation filter

On this page