"You have reached your plan's limit": 402 errors and request limits
Every Apideck plan includes a number of API requests. When your account reaches it, or your free trial ends, Apideck stops processing requests and returns 402 Payment Required until the limit resets or is raised.
What the error looks like
{
"status_code": 402,
"type_name": "RequestLimitError",
"message": "Request Limit Reached",
"detail": "You have reached your plan's limit of … requests. Talk to us about upgrading your subscription plan to continue making requests."
}
On a free trial that has ended, detail says instead: "Your free trial has expired. Talk to us about upgrading your subscription plan to continue making requests."
The limit is per Apideck account, not per consumer or per connection. Once it's reached, every call from every one of your applications gets this error, including API calls for all your customers.
What else stops
Your webhook subscriptions are switched off while the limit is reached. They're switched back on automatically when your usage resets or your plan is upgraded.
Virtual webhook syncs stop. If events don't come back after the limit is lifted, contact Apideck support.
When does it reset?
Paid plans: usage resets at the start of each month (00:00 UTC on the 1st).
Free trial: the trial's request allowance doesn't reset. When it's used up, or the 30-day trial ends, you need a paid plan to continue.
Upgrading from the trial to a paid plan resets your usage straight away.
What to do
You need more requests now: contact Apideck support or your account manager. We can raise your limit so your customers aren't blocked, and look at a plan that fits your usage.
You've just upgraded and still get 402: contact support. The new plan may not have been applied to your account yet.
Keep an eye on usage before you reach the limit. See What Counts as API Usage for what's counted and where to see it.
Reduce your usage
Sync only what changed: use
filter[updated_since]instead of re-reading everything.Use webhooks instead of polling where the connector supports them. See Which webhook events does a connector support?
Use larger pages: fewer, bigger list pages (
limitup to 200) mean fewer requests.Read single records only when you need fields the list doesn't return.
Rate limits: understanding 429 errors: 429s come from the provider and are a different limit.
Contact Apideck support through the Customer Portal (the Requests link at the top of this help center), your Slack channel with us, or support@apideck.com.
