I have a very similar problem as #1506 , I am using Shopify Node SDK by Monei and I am facing an issue regarding request retries, So basically in production, Some requests are waiting for 30 minutes before hitting the Shopify due to rate limit and I could solve the problem if I could call afterResponse hook from which I could just throw an error when I hit rate limit instead of retrying it but the last known details from that issue is
You can add a new one via the updated options.
So now I want to see what I need to do to get around with the situation? I already tried calling retryWithMergedOptions with different values but I never got to call afterResponse!
I have a very similar problem as #1506 , I am using Shopify Node SDK by Monei and I am facing an issue regarding request retries, So basically in production, Some requests are waiting for 30 minutes before hitting the Shopify due to rate limit and I could solve the problem if I could call
afterResponse
hook from which I could just throw an error when I hit rate limit instead of retrying it but the last known details from that issue isSo now I want to see what I need to do to get around with the situation? I already tried calling retryWithMergedOptions with different values but I never got to call afterResponse!
Checklist