Debug a denied request
Read gateway errors and fix the most common access failures.
Read gateway errors and fix the most common access failures.
Denied requests usually mean the gateway stopped the request before it reached the upstream. Start with the public error shape.
{
"error": "Usage limit exceeded",
"code": "usage_limit_exceeded"
}
Use code for diagnosis. Use error for human-readable context.
| Symptom | Likely cause | Fix |
|---|---|---|
| Missing credential | No API key was sent. | Add the documented auth header. |
| Invalid credential | Wrong, revoked, or malformed key. | Create or rotate the subscriber key. |
| Subscription inactive | Subscriber is not active on a plan. | Activate or update the subscription. |
| Limit exceeded | Plan quota has been reached. | Upgrade, wait for reset, or enable overage. |
| Insufficient credits | Prepaid balance is too low. | Add credits or choose another plan. |
| Product not found | Wrong hostname or unpublished product. | Use the published product hostname. |
code.Send:
codeDo not send the full API key.