Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

afterResponse hook is not called after a retryWithMergedOptions() #2347

Open
1 task done
Mr0nline opened this issue Apr 10, 2024 · 3 comments
Open
1 task done

afterResponse hook is not called after a retryWithMergedOptions() #2347

Mr0nline opened this issue Apr 10, 2024 · 3 comments

Comments

@Mr0nline
Copy link

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!

Checklist

  • I have read the documentation.
@work-with-akash
Copy link

+1

1 similar comment
@keirdavie
Copy link

+1

@Mr0nline
Copy link
Author

Mr0nline commented May 8, 2024

Bumping this up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants