When an API job fails
What the errors mean and when to try again.
A failed job is refunded in full. Its error is written so you can show it to your own users.
failure.retry
- change: change the prompt or inputs, then try again.
- now: try again now.
- later: busy; try again in a few minutes.
Refused requests
- 401: bad or revoked key.
- 402 insufficient_credits: add credits. 402 customer_cap: that customer is over their cap.
- 400: fix the request; message says what is wrong.
- 409 storage_full: delete videos you have copied.
- 429: slow down, and wait retry-after where given.
Treat a key like a password. If one leaks, revoke it on your account page.