Reading starts here
ChurnAtlas

How long to wait after a 429 error: 3 API docs compared

Short answer. Compare what Dataverse, Klaviyo and Twilio Verify docs say about 429 wait times, headers and retry handling before you set sync backoff.

ChurnAtlas Editorial Team. How posts are made is set out in the editorial standards.

Published · Sources checked · 10 min read

  1. Inputs Your product plan, your permissions and the task you want to finish.
  2. Decision Whether the help page matches what you see on your screen.
  3. Next action Do the task on one test account, then record what you changed.

After a 429 error, Dataverse's Retry-After wait depends on the operations sent in the preceding 5-minute period; Klaviyo and Twilio Verify are covered below.

Key takeaways

  • Dataverse: The wait time is not fixed. Microsoft Learn (Dataverse) states that the Retry-After duration depends on the nature of the operations sent in the preceding 5-minute period. If your client does not pause and resend on its own, read the Retry-After header on each 429 rather than assuming a constant pause.
  • Klaviyo: Rate limits operate on two distinct windows: a burst window of 1 second and a steady window of 1 minute. Klaviyo documents that all new API endpoints use this fixed-window algorithm, applied to each account. Hitting either limit returns a 429 status code, but the rate limit headers do not appear on the 429 response itself.
  • Twilio Verify: You control the thresholds. Twilio allows you to define the keys to meter and the limits to enforce when starting user verifications. This means the 'limit' is a configuration choice within your service setup, not a static vendor-imposed number.
  • Action step: Check whether your current retry logic treats 429 errors as having a uniform wait time. If it does, update the logic for Dataverse raw HTTP clients to parse the variable Retry-After header and for Klaviyo to handle the absence of headers on the throttled response.

Dataverse: the wait depends on the last five minutes

The Microsoft Learn (Dataverse) documentation states that the Retry-After duration depends on the nature of the operations sent in the preceding 5-minute period. This means your sync cannot rely on a fixed pause time; instead, the wait length changes based on what your client did during the last five minutes. When building backoff logic for this platform, you must treat the previous window as the primary variable determining how long to hold before resending.

Because limits are evaluated over time, the docs note that you can expect to exceed the number of requests and execution time limits for a 5-minute period before service protection API limits take effect. This lag is specific to how Microsoft evaluates these constraints, so your retry handler should be prepared for the first throttle signal to arrive after you have already pushed a volume of requests that exceeded the documented request and execution time limits.

Klaviyo: burst and steady windows, and headers that disappear

Klaviyo’s rate limit documentation specifies a fixed-window algorithm for all new API endpoints, applying limits to each account. Klaviyo defines two distinct windows: a burst window lasting 1 second and a steady window lasting 1 minute. Any API traffic subject to these limits receives an HTTP 429 error if either the burst or steady rate limit is reached. This dual-window structure means your sync must account for both rapid consecutive calls within a single second and sustained volume over a full minute.

A critical constraint for building retry logic is how the platform reports status. All non-rate-limited responses include specific HTTP response headers indicating the state of the steady rate limit window to the client. However, when you actually hit an HTTP 429 error, the RateLimit-Limit, RateLimit-Remaining, and RateLimit-Reset headers are not returned. This absence means your integration cannot read the current limit state directly from the error response itself. You must rely on the last known header values from previous successful requests to estimate remaining capacity, rather than parsing fresh data from the throttle event.

Because the headers disappear precisely when you need them most—during the 429 reply—your sync code should track the steady window state locally based on prior successful responses. Do not attempt to parse missing headers from the error body or expect new limit information in the 429 payload. Instead, use the documented behavior that these headers appear only on non-429 replies to design your backoff strategy around local state tracking rather than server-side feedback during throttling events.

Twilio: limits you set for each service

The documentation states that this feature makes it easy to use Twilio's battle-tested rate-limiting services to protect your Verify deployment. This approach shifts the definition of the limit from a static vendor setting to a configuration choice made by the application owner.

You control which metrics trigger these protections. With Service Rate Limits, you can define the keys to meter and limits to enforce when starting user verifications. This means the specific data points that count toward the throttle are selected during setup rather than predetermined by the platform. For a CS sync that triggers verification steps, identifying which user actions should be metered is a prerequisite for configuring the protection correctly.

The system combines these custom rules with existing safeguards. Together with Verify's built-in platform protections Service Rate Limits gives you turnkey protection with flexibility. This combination provides a baseline level of security while allowing additional constraints tailored to specific traffic patterns. The flexibility supports scenarios where standard platform limits do not match the operational needs of a particular integration.

For teams new to this configuration, the documentation offers a specific path forward. If you are just getting started with Rate Limits in Verify we recommend checking out our guide on Using Verify Service Rate Limits to Protect Your Application before diving into the API. Reviewing this guide helps ensure that the keys chosen for metering align with the intended protective goals before implementing the technical setup.

Reference table: window, reply and retry guidance by publisher

The following table summarizes the documented rate limit windows, 429 reply behaviors, and retry mechanisms for the three publishers.

Publisher Window Type 429 Reply Behavior Retry Mechanism
Microsoft Learn (Dataverse) Preceding 5-minute period Retry-After duration depends on operations sent in the preceding 5-minute period Xrm.Tooling.Connector versions after 9.0.2.16 pause and resend automatically; PowerShell retries when MaximumRetryCount is set
Klaviyo Burst (1-second) and steady (1-minute) Returns HTTP 429 when burst or steady limits are hit; headers absent on 429 replies Not covered on the cited page
Twilio Defined for each service by user Limits enforced based on keys defined by user Not covered on the cited page

Which documented behavior fits which sync job

Matching the retry logic to the platform's documented capabilities prevents unnecessary complexity in your data sync. The right approach depends on whether the client library handles the pause automatically or if you must manage the wait time yourself.

Dataverse: Let the client handle the pause If your sync targets Microsoft Dataverse, rely on the built-in retry mechanisms rather than writing custom delay loops. According to Microsoft Learn (Dataverse), starting with versions after 9.0.2.16 (May 2019) of Xrm.Tooling.Connector, the client automatically pauses and resends the request after the Retry-After duration period. This behavior means you do not need to parse the header manually when you use Xrm.Tooling.Connector versions after 9.0.2.16. If you are using the Web API with a client library, the documentation notes that it might support the retry behavior expected for 429 errors. For PowerShell scripts, the MaximumRetryCount parameter in the Invoke-RestMethod cmdlet specifies how many times PowerShell retries a request when a failure code is between 400 and 599, inclusive, or 304 is received. Since this range includes 429, PowerShell retries Dataverse service protection 429 errors when you include a value for this parameter. Use this setting for one-off sync jobs or maintenance scripts where manual intervention is acceptable.

Klaviyo: Manage the missing headers Klaviyo’s documentation presents a different challenge because rate limit headers do not appear on 429 responses. While other sections detail the specific burst and steady windows, the key operational difference here is the absence of guidance on the error reply itself. When a 429 occurs, you cannot read the current limit state from the response headers. Therefore, your sync logic must assume a fixed backoff interval or maintain its own internal counter based on the known window lengths. Do not attempt to parse headers from a throttled response, as they are absent. Instead, implement a delay long enough to cover the 1-minute steady window, or track that window locally. For a broader walkthrough, see API rate limit retry steps.

Square Subscriptions: Handle unsupported cases separately While Square is not one of the three primary comparison tools, its documentation highlights a specific constraint relevant to payment-related syncs. ACH payments aren't possible through the Subscriptions API because bank account sources cannot be stored on file and charged later, according to Square Developer. If your CS platform sync involves subscription billing through ACH, do not route these transactions through the Subscriptions API. Separate this workflow from your standard API syncs to avoid failures that cannot be resolved by simple retries. This distinction ensures your sync architecture does not attempt an operation that the API explicitly excludes.

Next step today: open your sync's retry code and check whether it waits the same time after every 429 reply. If it does, compare that behavior with the Dataverse, Klaviyo and Twilio Verify rules above before you change anything. For the error-handling checks, see CS integration errors: 9 mistakes in request retries.

Related guides: Onboarding tools: compare 4 customer project plans · Customer sync recovery: 5 tools by their error rules · Account analytics tools: 4 publishers compared.

FAQ: choosing a retry approach from vendor docs

How long should I wait after a 429 error?

For Dataverse, the wait is not a fixed number of seconds. According to Microsoft Learn (Dataverse), the Retry-After duration depends on the nature of the operations sent in the preceding 5-minute period, so the pause length varies with your recent activity rather than following a static rule.

Does Dataverse pause and resend a throttled request for me?

Yes, if you use Xrm.Tooling.Connector versions after 9.0.2.16. Starting with versions after 9.0.2.16 released in May 2019 of Xrm.Tooling.Connector, the client automatically pauses and resends the request after the Retry-After duration period as described by Microsoft Learn (Dataverse). This behavior handles the backoff logic for you once the initial 429 response triggers the automatic pause mechanism.

Which Klaviyo headers show the rate limit window?

You cannot read the window details directly from a 429 response because those headers are absent during errors. The RateLimit-Limit, RateLimit-Remaining, and RateLimit-Reset headers are not returned when you actually hit an HTTP 429 error, according to Klaviyo. You must monitor these headers on successful non-429 responses to track your remaining steady-window capacity.

Can I set my own rate limits in Twilio Verify?

Yes, the platform allows you to define specific constraints for your service. With Service Rate Limits, you can define the keys to meter and limits to enforce when starting user verifications, as stated by Twilio. This means the limits you define with Service Rate Limits are set by your configuration, while Verify's built-in platform protections also apply.

Does the Retry-After wait stay the same each time?

No, the duration changes based on prior traffic patterns. The Retry-After duration depends on the nature of the operations that were sent in the preceding 5-minute period, which means each subsequent throttle event may require a different pause length.

Sources

Limits of this post

This post is general operational information, not legal advice about notice periods or renewal clauses. It does not promise that any method keeps a customer. Software can get a fact wrong, so open the sources before you act.