Retries in AsyncClient is not working for me #1745
Unanswered
mhihasan
asked this question in
Potential Issue
Replies: 1 comment 2 replies
-
You'd need to describe what's not working for someone to be able to help you out with this. Probably start by telling us exactly which kind of exception is being raised? |
Beta Was this translation helpful? Give feedback.
2 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 am trying to access an API which alternates 200 and 500 status. That's why I need to retry once in case it returns 500 error, but for 200 response I don't need to retry.
I am trying the following way, but getting
<Response [500 Server Error]>and<Response [200 Ok]>alternatively.I need
<Response [200 Ok]>always.Beta Was this translation helpful? Give feedback.
All reactions