rate_limited
429 Rate limited. Retry: Yes, after waiting.
When it happens
The key sent more requests than its plan allows in 10 seconds, or the organization already has as many jobs running as the plan allows. Retry-After says how many seconds to wait.
What to do
Wait Retry-After seconds, then send it again. Spread requests out, and wait for jobs to end before starting more.
Example
{ "type": "https://formatjet.com/docs/errors/rate_limited", "title": "Rate limited", "status": 429, "code": "rate_limited", "detail": "…", "request_id": "req_01JBXA3Q6P0R2S4T6V8W0X2Y4Z"}Endpoints
- Get usage
GET /v1/usage - Get the account
GET /v1/account - Make an upload
POST /v1/uploads - Make a job
POST /v1/jobs - List jobs
GET /v1/jobs - Estimate a job
POST /v1/estimate - Convert a file
POST /v1/convert - Get a job
GET /v1/jobs/{id} - Delete a job’s files
DELETE /v1/jobs/{id} - Stream a job’s events
GET /v1/jobs/{id}/events - Cancel a job
POST /v1/jobs/{id}/cancel - Download an output
GET /v1/jobs/{id}/outputs/{n} - Save a recipe
POST /v1/recipes - List recipes
GET /v1/recipes - Get a recipe
GET /v1/recipes/{id} - Change a recipe
PATCH /v1/recipes/{id} - Delete a recipe
DELETE /v1/recipes/{id} - Add an endpoint
POST /v1/webhooks - List endpoints
GET /v1/webhooks - Get the job-webhook secret
GET /v1/webhooks/job-secret - Get an endpoint
GET /v1/webhooks/{id} - Change an endpoint
PATCH /v1/webhooks/{id} - Delete an endpoint
DELETE /v1/webhooks/{id} - Rotate a secret
POST /v1/webhooks/{id}/rotate-secret - List deliveries
GET /v1/webhooks/{id}/deliveries - Replay an event
POST /v1/webhooks/{id}/replay