# Frequent Gift Card API Errors

**URL:** <https://developer.squareup.com/forums/t/frequent-gift-card-api-errors/11335>\
**Category:** Questions\
**Tags:** gift-cards-api\
**Created:** [November 22, 2023, 3:19pm UTC](https://developer.squareup.com/forums/t/frequent-gift-card-api-errors/11335 "2023-11-22T15:19:43Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![JM0ney](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/jm0ney/32/666_2.png) [@JM0ney](https://developer.squareup.com/forums/u/JM0ney)\
**Post date:** [November 22, 2023, 3:19pm UTC](https://developer.squareup.com/forums/t/frequent-gift-card-api-errors/11335/1 "2023-11-22T15:19:43Z")

</div>

Merchants using our ecommerce web app have had multiple customers complain that they cannot use or even view their gift cards. I am unable to reproduce this problem in my test environments.

I have been looking through our error logs and I see the following errors related to Square’s Gift Cards API:

> This merchant has exceeded the number of requests for this method, please try again later.  
> This application has exceeded the number of requests for this method, please try again later.

This is unacceptable to our merchants, so we need to try and get this resolved as soon as possible. My questions are as follows:

What are the rate limits for Gift Card related API calls?  
What can be done so these rate limits are not exceeded, but our web app is still functional?  
Can these rate limits be adjusted so the API will not fail and their customers can use their gift cards?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [November 22, 2023, 4:32pm UTC](https://developer.squareup.com/forums/t/frequent-gift-card-api-errors/11335/2 "2023-11-22T16:32:51Z")

</div>

What endpoint are they getting this error with? Also what’s the application ID? 🙂

---

<div class="post-metadata">

**Author:** ![JM0ney](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/jm0ney/32/666_2.png) [@JM0ney](https://developer.squareup.com/forums/u/JM0ney)\
**Post date:** [November 22, 2023, 4:40pm UTC](https://developer.squareup.com/forums/t/frequent-gift-card-api-errors/11335/3 "2023-11-22T16:40:27Z")

</div>

Ah, I suppose those details would have been helpful. My apologies.

End point: /v2/gift-cards/from-gan  
Application Id: sq0idp-tr\_tPrBfDtx7EWVI5SAqVA

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [November 22, 2023, 5:45pm UTC](https://developer.squareup.com/forums/t/frequent-gift-card-api-errors/11335/4 "2023-11-22T17:45:35Z")

</div>

Thanks for the credentials. 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](https://en.wikipedia.org/wiki/Thundering_herd_problem). 🙂
