One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
Dan A.17
8 years agoNew member | Level 2
DBFILESUserAuthRoutes listFolderLongpoll:timeout: is timing out
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?
- 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.stone#L294
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
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,947 PostsLatest Activity: 38 minutes ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!