forbidden
403 Forbidden. Retry: Not as it is: change the request first.
When it happens
The key is valid but can’t do this: it lacks the scope the endpoint needs, its plan has no API access (Pro is a website plan), the conversion is an add-on its plan doesn’t include (such as background removal, for Pro, the API plans and Enterprise), or a mode already has the most webhook endpoints it may.
What to do
Use a key with the scope the reference names for the endpoint, or change the plan. Test keys can try add-ons on any plan.
Example
{ "type": "https://formatjet.com/docs/errors/forbidden", "title": "Forbidden", "status": 403, "code": "forbidden", "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