Common API errors

What the most frequent error responses mean and how to fix them.

Status Meaning What to do
401 Missing, wrong or revoked API key Check the X-API-Key header; create a new key if the old one was revoked
402 Not enough credits for this request Buy a pack on the Credits page, or use Standard instead of Pro
400 The request is not valid (missing image, unknown field, wrong format) Read the message field in the response; it names the problem
404 The effect or task does not exist Get the current list from GET /v1/effects
5xx Something failed on our side or at the image model Try again; you are not charged for failed jobs

The full list of endpoints and fields is in the OpenAPI schema. If an error keeps happening, send us the time of the request and the endpoint through the contact form.

Still stuck? Contact us; we reply within one working day.

More in API