dropbox-sdk-java icon indicating copy to clipboard operation
dropbox-sdk-java copied to clipboard

SDK Should wrap HTTP 504 Gateway Timeout into RetryException

Open im2703 opened this issue 1 year ago • 2 comments

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.

im2703 avatar Sep 09 '24 18:09 im2703

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

greg-db avatar Sep 09 '24 19:09 greg-db

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.

Randy88-art avatar Feb 02 '25 03:02 Randy88-art