Query does not retry on fail #6501
Unanswered
yubinjodev
asked this question in
Q&A
Replies: 1 comment
-
https://tkdodo.eu/blog/react-query-fa-qs#why-do-i-not-get-errors- |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have the following setup and query. I am trying to fetch data every 30 seconds. If the fetch fails, I want it to retry every 60 seconds with exponential backoff which caps off at 10 minutes. The refetch on success (refetchInterval) is working fine, it is just the retryDelay that isn't working.
I can clearly see that it is throwing an error on my browser, but it is not retrying (I cannot see any new network requests).
Why isn't it working?
Beta Was this translation helpful? Give feedback.
All reactions