cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
We are making some updates so the Community might be down for a few hours on Monday the 11th of November. Apologies for the inconvenience and thank you for your patience. You can find out more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Get "Retry-After" header in Android

Get "Retry-After" header in Android

Stephen N.5
New member | Level 1

I'm working on the error-handling for my new Android app right now and can't seem to figure out where to extract the "Retry-After" header if a 429 error is returned. The javadocs seem to have nothing on this. I'm using the Dropbox Android SDK 1.6.3.

I am using e.error in my catch(DropboxServerException e) block to get the error code. Will the retry-after header be in e.body.error? I would test this myself but I'd like to avoid actually hitting the API call limit just to find the retry-after number.

 

Thoughts?

1 Reply 1

Greg-DB
Dropbox Staff

Unfortunately, the Android Core SDK doesn't currently expose the Retry-After header, but I'll be sure to pass this along as a feature request.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?