Skip to main content

Error response format

Most error responses return a JSON body with an error field:
Some endpoints return a plain-text message body instead of JSON. Check the Content-Type response header when parsing errors programmatically.

HTTP status codes

Common errors

The Authorization header is absent or does not start with Bearer .
Add the header to your request:
The key in the Authorization header does not match any active key on your account.
Verify that the key is copied correctly and has not been deleted. You can manage your keys in Settings > API Keys.
The key has read_only permission but the request uses a write method (POST, PUT, or DELETE).
Either switch to a GET request or use an all_access key.
The account associated with the API key is not on a Starter or Growth plan.
Upgrade your plan to enable API access.
The requested resource does not exist, or it belongs to a different account.
Confirm the ID is correct and that the resource was created under the same account as your API key.
You have sent more than 100 requests in a 2-minute window from the same IP address.
Wait before retrying. Implement exponential backoff to avoid hitting the limit repeatedly.

Handling errors in code

For 429 responses, read the Retry-After header if present, or implement exponential backoff starting at 1 second.