x

Retrieve Customer API endpoint is returning HttpClientErrorException 429 "Too many requests"

The following endpoint https://connect.squareup.com/v2/customers/{customer_id} is returning 429 "Too many requests".

Please note that I am calling this API while multithreading. But, this exception is returned for simultaneous 5 or 6 requests also. Can you please let me know the rate limit per second/minute for this API, so that I can handle this exception accordingly.

525 Views
Message 1 of 2
Report
1 REPLY 1

Hello @BirdEye, welcome to the Seller Community! 

 

We don't publicly disclose the rate limit for our API's, but you could implement an exponential back-off method to reduce the amount of times it occurs. 

 

Hopefully this helps! 🙂

503 Views
Message 2 of 2
Report