After a 429 response, pause sends for affected devices, retry the same events, and check how your provider prevents duplicates.
Key takeaways
- Confirm which endpoint receives your events.
- Check the documented pause before retrying.
- Preserve event identifiers and original times.
- Test the retry path and inspect its logs.
Growth leads often work with engineers during a new account's first session. That is when the first events arrive, when onboarding funnels start getting measured, and when a gap in the data can make a launch look broken. So when someone says event sends are returning a 429 status code, it helps to know what that means and what the team should do next.
This post covers three steps to retry an event send after a 429 response. It uses Amplitude's documentation as its main reference, because the Identify API page gives direct guidance on what to do after a 429. Your analytics provider may use different endpoints, limits, or retry rules, so confirm the details in its own docs before you change anything.
You do not need to write code to follow along. You do need to ask good questions, so the engineer can walk you through the send path, the retry logic, and the place where failures get logged. By the end, you should be able to ask for a clear answer on each of those three points.
What a 429 response means
A 429 status code means "Too Many Requests." The server received more requests from your client than it is willing to take right now, so it asks the client to slow down. A 429 does not mean the event was malformed, and it does not mean the account is broken. The right response is to wait and try again, not to send the same requests as fast as possible.
In a first session, this often happens for ordinary reasons. A new user signs up, finishes a setup checklist, and opens several screens in quick succession. A tracking library that sends each event immediately, with no pause and no queue, can hit a limit during that burst. A backfill script that loops over historical users can do the same, and so can a retry loop that fires again the moment it sees an error.
Think of the 429 as useful information. It tells you the sending code is moving faster than the receiving side allows. That makes it a design problem in the send path, not a reason to blame the dashboard or assume the product is failing.
The Identify API page says, "This API uses the event ingestion host api2.amplitude.com (default) or api.eu.amplitude.com (EU)." Before anyone debugs a 429, confirm which host the code is calling. Logs from the wrong host can send your team in the wrong direction.
The same page also says, "All throttling and status code guidance from Amplitude's HTTP V2 API applies to the Identify API." If your team sends events through HTTP V2 rather than the Identify API, read the HTTP V2 documentation as well, and check that the send path matches the endpoint in use. For related checks, see signup API errors.
Illustrative example: follow a rejected batch
Imagine a queue holding 10 events with their original times and stable identifiers. A send returns a 429. The code keeps those events in a local queue that survives app restarts and pauses sends for the affected devices.
After the documented wait, it retries the same batch. If another 429 arrives, the batch stays queued for another pause and retry. If the request succeeds, the batch clears from the queue. An engineer then compares the event identifiers and times in the logs with the dashboard. This is an illustrative test sequence, not a promise that retries will succeed.
Step 1: Stop sending and pause
The first step is to stop the send loop that just received a 429. Do not drop the rejected events, and do not start the next batch right away.
The guidance on this is specific. The Identify API page says to "Pause sending events for any devices in that request for 15 seconds before retrying." (Identify API docs) Two things matter here. The pause length in that guidance is 15 seconds. The guidance also ties the pause to the devices in the request that got the 429, so engineers should scope it that way rather than stop unrelated work.
For a growth lead, the useful question is simple: "When we get a 429, does the code pause, or does it log the error and move on?" If it logs and moves on, expect missing events in the first session. The account will look quiet in the dashboard even though the events were rejected and never sent again. Nothing crashed, so nobody gets paged, and the gap is hard to spot later.
Ask two more things. Is the pause a simple wait on the sending path, or does it block other work the app needs? A pause should slow event sends. It should not freeze the screen a user is looking at. Second, does the code write a log line when a pause starts and when it ends? Those log lines are how you prove, later, that the pause happened.
Watch for the opposite mistake too. Retrying the moment a 429 arrives feels fast, but it can run into the same limit again and add load during the same burst. The pause gives the retry a fair chance to succeed.
A pause handles a burst, but it does not fix a send path that sends too much all the time. If 429s keep showing up long after launch day, ask whether the code batches events sensibly, skips events that do not matter, or fires duplicate requests from a loop. Those questions point to the source of the pressure, which a pause alone cannot solve. See also sync mistakes behind low-volume errors.
Step 2: Retry the same events until the 429s stop
After the pause, retry the same events. The important word in the guidance is "until." The Identify API page says to "Continue retrying until you no longer receive status code 429." (Identify API docs) A retry is not a single attempt that either works or gets dropped. If the retry also returns a 429, pause again, then retry again.
Treat an operational stopping point as a separate design decision, rather than part of that quoted guidance. Your team needs a stopping point for the worst case, such as an outage on the receiving side or a bug that returns 429 for every request. The point of a stopping point is to make failure visible. When retries run out, the events should go to a failure queue or log with enough detail to replay them later, and someone on the team should get an alert. Silent drops are the outcome to avoid.
A useful failure log entry is short and specific. It names the event, the identifier, the device or account it belongs to, the number of attempts, the last response code, and the time of the last attempt. With those fields, someone can replay the events later or explain to a product manager exactly what was lost.
Keep the payload the same, too. Resend the events you tried before instead of rebuilding them with different content. If an event carries the time it happened, keep that original time on every retry. The event time should reflect when the user acted, not when the retry ran. This keeps the first-session timeline accurate, which is what you will read in the funnel.
Ordering matters in a first session as well. If a user's events arrive out of sequence, a funnel can show steps in the wrong order or show a step as skipped. Where possible, keep the original order for each device when you retry, and avoid sending a later event while an earlier one from the same device is still waiting in the queue.
Here is the flow to ask an engineer to show you, step by step:
- A request comes back with a 429.
- The code pauses the send for the affected devices.
- The same events are retried.
- If the retry returns another 429, the code pauses again.
- A successful response clears those events from the queue.
- If retries run out, the events go to a visible failure log and an alert fires.
If an engineer can explain each line of that list, the retry path is probably sound. If not, ask them to write it down before the next launch.
Step 3: Make retries safe to repeat
A retry sends an event again, so the code needs a way to recognize events it has already handled. Without that, a retry bug can produce duplicate events, which can inflate signup counts, activation counts, and every conversion rate built on top of them.
The practical approach is to give each event a unique identifier before its first send attempt. Store that identifier with the event in the local queue, and reuse it on every retry. Log it when the event is accepted, when it is given up on, and when it is replayed. Each log line should include the identifier, the time, the response code, and whether a pause followed. With that in place, anyone can trace one event from first attempt to final result.
Do not assume your analytics provider uses that identifier to remove duplicates. Ask the vendor and read its documentation. If the provider does not handle duplicates for you, logs can help identify them, but engineers still need to design how to prevent duplicate counting.
Persistence matters too. If the app closes or restarts during a pause, unsent events should survive the restart. Mobile apps and browser sessions are especially prone to this, since users close tabs and switch apps all the time. For first-session events that matter to the funnel, such as account creation or a completed onboarding step, the queue should live somewhere that outlasts a single page view or app launch.
Not every event deserves the same care. Account creation and completed onboarding steps usually deserve more protection than a hover or a scroll. Ask engineers which first-session events are critical, then make sure those get the strongest retry and logging rules.
What to check during the first session
Once the send path is in place, the job shifts to checking. You do not need a dashboard full of charts. A short checklist, reviewed during the first session, catches most problems early.
- Count the 429s. Ask for the number of 429 responses during the session, and whether they cluster in one part of onboarding. A cluster around the same screen often points to a specific burst of events.
- Confirm the pauses happen. Look for log lines that show a pause starting and ending. A 429 with no pause after it is the first thing to fix.
- Confirm retries end. Look for retry chains that never finish. Any event still in the queue after the session is over needs an explanation.
- Compare logs with the dashboard. For a test account, check that every event in the logs shows up in the dashboard, with the right time. Expect some delay before data appears. The real question is whether it ever appears.
- Read the funnel with the 429 timeline in mind. A drop at a step that lines up with a 429 spike is a data question first and a product question second. Check the data before you change the onboarding flow.
- Spot-check timestamps. Pick a few events that went through a retry and confirm their event times match what happened in the test session.
Keep the checklist short. The goal is to answer one question: did the events that mattered reach the analytics tool, in the right order, with the right times? If yes, the 429s were a speed bump. If no, you know which step to fix.
If a check fails, do not jump straight to a code change. Write down what you saw, when it happened, and which part of the send path it touches. Share that note with the engineer before anyone edits code. A clear note usually turns a long debate into a short fix.
Common mistakes to avoid
Most problems with 429 responses come from a few habits. Watch for these in code reviews and launch planning.
- Retrying immediately. An instant retry is likely to hit the same limit again, and it adds load during the burst that caused the problem.
- Treating a 429 like any other error. Logging it and moving on loses events without anyone noticing.
- Retrying forever. A retry with no stopping point hides outages and can let a queue grow without limit.
- Rebuilding events on retry. New content or new identifiers make duplicates hard to spot and make the timeline harder to trust.
- Borrowing guidance from another API. Check which endpoint the code calls. The Identify API page points to HTTP V2 guidance, but other vendors may differ.
- Blaming the dashboard first. Check the logs, then the API responses, then the dashboard. A chart is the last place to look, not the first.
- Reading silence as no activity. A quiet first session might mean no one is using the product, or it might mean the events were lost. Check the logs before you conclude anything.
Agree on ownership before launch, too. Engineering owns the pause, the retry loop, and the queue. Growth and analytics own the list of critical events and the checks that confirm those events arrived. Writing that split into the launch plan prevents the common gap where each side assumes the other is watching the logs.
How to brief your engineers
Keep the brief short and specific. Engineers can build against a clear list far more easily than against a general request to make tracking reliable.
Ask for a test run today. Have the engineer run the first-session flow on a test account, then check the logs and the dashboard together. Repeat the run if anything looks off. A problem found in a test is far cheaper than a launch that loses events in public.
Questions about retrying events
How long should the pause last?
Amplitude's Identify API guidance calls for 15 seconds for affected devices. Check the endpoint before applying that timing.
Does a stable identifier prevent duplicate counting?
A stable identifier alone does not establish how your provider handles duplicates. Confirm that behavior in its documentation before relying on retries.