cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox 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: 

DBFILESUserAuthRoutes listFolderLongpoll:timeout: is timing out

DBFILESUserAuthRoutes listFolderLongpoll:timeout: is timing out

Dan A.17
New member | Level 2

One of our users is getting "Request timed out" when our app calls [DBFILESUserAuthRoutes listFolderLongpoll:timeout: ] with the timeout parameter having the default value of 30. The documentation for this call in the Objective C SDK says "Care should be taken when using this parameter, as some network infrastructure does not support long timeouts." What does this mean, what care should be taken? Also, what is the range of valid values for the timeout parameter?

1 Reply 1

Greg-DB
Dropbox Staff
I believe that's referring to things like proxies, firewalls, etc., which may interfere with connections like this. If your users are likely to be in more restrictive environments like this, you may want to not use that in your app, or user different parameters, etc.

For reference, the API itself supports a longpoll timeout of 30-480 seconds:

https://github.com/dropbox/dropbox-api-spec/blob/d407fe71a0246158c89c94e307d4f2effd55a273/files.ston...

There is an iOS-specific limitation to be aware of though, that can limit this further. You can find more information here:

https://github.com/dropbox/dropbox-sdk-obj-c#longpoll-session-timeout-bug
Need more support?
Who's talking

Top contributors to this post

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