category=V1_ERROR, code=too_many_requests, detail=This request was rate limited. Please retry later

We are receiving this error now on our nightly OAuth renews for our connected OAuth Seller accounts.

Any ideas how to prevent this or can we request rate limit increase?

Square does have rate limits but we don’t document the limits. We encourage you to handle the limit gracefully by building a retry mechanism. This mechanism should have an exponential backoff schedule to reduce requests when volume is necessary. Also some randomness wouldn’t hurt to avoid a thundering herd effect. :slightly_smiling_face:

1 Like