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

SDK Should wrap HTTP 504 Gateway Timeout into RetryException #550

Open
im2703 opened this issue Sep 9, 2024 · 1 comment
Open

SDK Should wrap HTTP 504 Gateway Timeout into RetryException #550

im2703 opened this issue Sep 9, 2024 · 1 comment

Comments

@im2703
Copy link

im2703 commented Sep 9, 2024

The DbxClientV2 request configuration supports automatic retries on transient errors, such as due to rate limiting.

Sometimes Dropbox API returns an error HTTP 504 Gateway Timeout. This will fail the request with BadResponseCodeException .

It would make sense to interpret HTTP 504 also as a transient error, and support optional automatic retries.

@greg-db
Copy link
Contributor

greg-db commented Sep 9, 2024

Thanks! I'll pass this along as a feature request, but I can't promise if or when it might be implemented.

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

2 participants