Requests get 429 Too Many Requests
A request over one of the workspace’s limits is refused before any mock is consulted, with status 429, a Retry-After header giving the seconds to wait, and one of these bodies:
{ "type": "https://mockhub.dev/problems/plan-limit", "title": "Plan limit reached", "status": 429, "detail": "Workspace request allowance exceeded. Retry after the indicated reset."}{ "type": "https://mockhub.dev/problems/plan-limit", "title": "Plan limit reached", "status": 429, "detail": "Concurrent request capacity is full. Retry shortly."}The problem’s type is Plan limit. The limits belong to the workspace’s plan and are shared by all its projects: a busy test suite on one project can hold back another. Refused requests are not written to the request logs. The limits page lists each plan’s limits, and Plans, quotas and limits explains how they work.
Causes
Section titled “Causes”Too many requests in one second
Section titled “Too many requests in one second”Workspace request allowance exceeded. with Retry-After: 1. The plan allows a number of requests per second, with a short burst above it; a test suite that fires requests in parallel reaches it first.
- Wait the second
Retry-Aftergives, and retry. Many HTTP clients can be set to do this on a429. - Lower the number of requests your tests send in parallel, or space them out.
The hourly or daily limit is reached
Section titled “The hourly or daily limit is reached”Workspace request allowance exceeded. with a Retry-After of minutes or hours: the time until the current hour or day ends, in UTC. Settings → Subscription shows Requests this hour and Requests today against the plan’s limits.
- Wait for the period to end, or reduce the traffic. Polling loops and retries that do not back off are the usual source.
- For more, the workspace Owner can move to a plan with higher limits; see Choose a plan. The higher limits apply as soon as Stripe confirms the new plan, and the requests counted this hour and today stay counted.
The monthly allowance is used up
Section titled “The monthly allowance is used up”Workspace request allowance exceeded. with a Retry-After that can run to days: the time until the monthly allowance resets. Every page in the workspace warns first, once 80% is used:
This workspace has used at least 80% of its monthly request allowance.When it is used up, Settings → Subscription says Your request allowance is exhausted. and gives the date on which the request budget resets; Requests this month shows the count. Changing plans does not refill it, except that a workspace’s first paid subscription starts a new month. See Read your usage.
On a paid plan, the Owner can raise the month’s allowance at once with extra requests, an add-on; the limits per hour and per day stay the plan’s.
Too many requests in flight at once
Section titled “Too many requests in flight at once”Concurrent request capacity is full. Retry shortly. with Retry-After: 1. The plan limits how many requests the workspace can have waiting for an answer at the same time. A mock’s delay does not count while the workspace has fewer delayed answers waiting than its plan allows (Delayed responses at once) and their bodies together stay within 64 KiB for each answer it allows. Past that, each further delayed answer holds its place for the whole delay, so many slow mocks called in parallel reach this limit long before the per-second one.
- Retry after a second.
- Send fewer requests in parallel, or shorten the mocks’ delays. See Add a delay to a mock.
The same answer can come, rarely, from a limit MockHub sets across all customers at once. Retrying a moment later is then all there is to do.
In Proxy unmatched and Record everything modes it also comes when a request would be forwarded while the workspace already has three outgoing requests under way: forwards to an upstream, webhook deliveries, alerts and AI generation count together. Nothing is forwarded, recorded or counted against the forwarding allowance, and a retry a moment later forwards it.
A mock or chaos profile answers 429 on purpose
Section titled “A mock or chaos profile answers 429 on purpose”A 429 without the type above comes from the project itself: a mock whose status is 429, or a chaos profile that injects 429 errors, often to test how a client handles rate limiting. Request logs shows these requests, with the mock under Answered by. See Simulate rate limiting with 429 and Retry-After, and stop a live chaos profile with Stop on its row on the project’s Chaos tab.
Other refusals from the same limits
Section titled “Other refusals from the same limits”A request body larger than the plan allows is refused with 413, and a project the plan does not let run with 403:
Both are Plan limit problems, with the detail Request body exceeds the traffic limit. or:
{ "type": "https://mockhub.dev/problems/plan-limit", "title": "Plan limit reached", "status": 403, "detail": "This project is archived or exceeds the active project allowance. Your definitions are preserved. Choose active projects or upgrade."}The 403 comes from an archived project, or, after a downgrade, from a project beyond the number the new plan lets run. The workspace Owner can select Restore project in the project’s Settings, archive another project to make room, or upgrade. See Manage a downgrade.
Other 429s in MockHub
Section titled “Other 429s in MockHub”These come from the app or an AI assistant, not from a project’s address:
| Message | Where | What to do |
|---|---|---|
Too many requests from this workspace at once. Try again in a second. |
Try it in the mock editor | Try it shares the per-second limit with real traffic, though it does not count towards the monthly requests. Wait a second |
Too many generations at once. Try again in a minute. |
Generate on the Mocks tab | Wait a minute |
The AI provider is busy. Try again shortly. |
Generate on the Mocks tab | Wait a few seconds |
MCP API rate limit exceeded. |
An AI assistant connected over MCP | See MCP tools |
Too many requests with this credential. Retry after the interval in Retry-After. |
The app, the CLI or a script using a token | Each token, and each person signed in to the app across all their sessions, makes at most 600 calls a minute. Wait the seconds in Retry-After; a script that loops should slow down |
Too many failed login attempts, please try again in 15 minutes. |
Sign-in; the minutes vary | Wait, then sign in; see Reset your password |
Too many failed sign-ins for this address. If it has an account, we have emailed it a link to sign in. |
Sign-in, under Check your email | Sign in with the emailed link, or reset your password; see Sign-in link sent |
The last retry failed too. Try again tomorrow, or change the address. |
Try again in the notice that mail to you has stopped, from a page loaded before the last retry failed | It works once in 24 hours. Change the address, or wait; see Mail is not arriving |
Adding or verifying a custom domain runs DNS checks, which a workspace runs one at a time and at most 30 of in 10 minutes:
| Message | Where | What to do |
|---|---|---|
Another domain check in this workspace is still running. Try again in a few seconds. |
Add domain or Verify under Custom domains | Another tab or Admin is checking a domain. Wait a few seconds |
Too Many Requests |
Add domain or Verify under Custom domains | The workspace has checked 30 times in 10 minutes. Wait up to 10 minutes |
A workspace sends at most 20 invitation emails in 24 hours, and at most 3 to one address:
| Message | Where | What to do |
|---|---|---|
This address has had three invitation emails from this workspace today. |
Send invitation or Resend in Settings → Members | Wait as long as the message says; see Invite members to a workspace |
This workspace has sent its 20 invitation emails for today. |
Send invitation or Resend in Settings → Members | Wait as long as the message says |
Refusals when starting a demo are in My demo has expired.
Still stuck
Section titled “Still stuck”Report a problem with the time of the refused requests, the project’s address and the full response, including the Retry-After header.