Error codes

Every API error has an HTTP status and a Pebble error code in the body, for example {"error": {"code": "PQ-1042", "message": "..."}}. Log the code: support can find your request with it.

Authentication errors

CodeStatusMeaning
PQ-1001401The API key is missing or malformed. Send it as Authorization: Bearer pk_live_...
PQ-1002401The API key was revoked. Create a new key with pebble keys create.
PQ-1003403The key belongs to another project or region.

Job errors

CodeStatusMeaning
PQ-1042413The job payload is larger than 256 KB. Store large data elsewhere and send a link.
PQ-1043400The payload is not valid JSON.
PQ-1050409A job with this idempotency key already exists. The response contains the original job.
PQ-1061400delay_seconds or run_at is more than 30 days in the future.

Limit errors

CodeStatusMeaning
PQ-2001429Rate limit reached. Wait for the number of seconds in the Retry-After header.
PQ-2002402The monthly jobs quota of your plan is used up. Upgrade, or wait for the next billing month.
PQ-2003403The plan's queue limit is reached. Delete a queue or upgrade.