question

fcwwaskdev avatar image
fcwwaskdev asked David Marginian Deactivated commented

Experiencing issue with 429 errors while keeping requests under rate limit

We're running a server-based app that creates Clover Orders (incl. line items, discounts & payments) via Clover REST api to sync monthly recurring sales from the client's merchant account. We started receiving the 429 errors back at the beginning of July 2020, though the app has been running with a relatively consistent workload for 2-3 years.


In the past, we would typically run ~200 order creation requests over the course of 5-6 minutes, successfully. Since July, we're running <5 requests per second on a single token when the 429 event occurs.


In the most recent occurrence, we completed 90 successful POST requests over 32 seconds before receiving a 429.


We're having a tough time getting to the bottom of this. Any help, direction or advice would be greatly appreciated.


Note: This is a private app for sole use with this single merchant. It is triggered by a cron job & runs monthly without any user intervention. It is using a merchant token to authenticate the REST API.


TIA


REST API
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image
David Marginian Deactivated answered

Please contact dev@clover.com with more information including your app id.

10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

demskigroup avatar image
demskigroup answered David Marginian Deactivated commented

Hi David,


We are having the same issue with a Public App


We use the necessary back-off code, but still running into issues.


Please advise.

1 comment
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

David Marginian avatar image David Marginian ♦♦ commented ·

Please contact dev@clover.com with more information including your app id.

0 Likes 0 ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community