-
Notifications
You must be signed in to change notification settings - Fork 330
Description
Describe the bug
I have a client object set with the default retry on error (4), but I got an unexpected exception dropbox.exceptions.InternalServerError: InternalServerError('', 500, '{"error": "The server has either erred or is incapable of performing the requested operation."}')
during the refresh operation. I tried the same credentials, and it works fine now, so it just seems like a one time fluke on dropbox backend. I expected the retries on error to be applied to these requests, but it seems like they aren't.
To Reproduce
I guess you can use some mocking framework to simulate a 500 response from a refresh token call and see how it makes calls fail.
Expected Behavior
The max retries on error should apply to all requests.
Actual Behavior
See description
Versions
- What version of the SDK are you using? 12.0
- What version of the language are you using? 3.13.7
Additional context
Add any other context about the problem here.