You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
saritafurtado
7 years agoExplorer | Level 3
409 reset error for list_folder/continue api from business endpoint
I'm trying to retrieve folder items of team member by following this link https://www.dropboxforum.com/t5/API-Support-Feedback/How-to-get-all-the-files-and-folders-of-a-business-account/m-p/281388.
I am able to get result from list_folder api but when I pass cursor to list_folder/continue api I get below error.
{
"error_summary": "reset/..",
"error": {
".tag": "reset"
}
}
Going through forum replies what I understood from this error is that the cursor is invalid or it has expired.
Please help.
1) The list_folder 'limit' parameter is not a hard limit, per the documentation. It can technically return slightly more (or even less) than the limit. You should always check 'has_more' and call back to list_folder/continue if it's true.
2) You can use the 'Dropbox-API-Path-Root' header for each list_folder call, but is not required. If it is not supplied, the API will default to the "home" behavior. You can find more information in the Namespace Guide.
- Greg-DBDropbox StaffCan you share the code/output for these calls so we can take a look? Thanks in advance!
- saritafurtadoExplorer | Level 3
I was trying this in dropbox api explorer and postman
.
- Greg-DBDropbox Staff
I see you're specifying a particular 'Dropbox-API-Path-Root' header on the /2/files/list_folder/continue call. Did you also specify that for the /2/files/list_folder call?
If not, you will get this 'reset' error. You should make sure you keep the 'Dropbox-API-Path-Root' usage consistent for any particular cursor. That is, if you call /2/files/list_folder with a particular 'Dropbox-API-Path-Root' you should use that same 'Dropbox-API-Path-Root' for the next call to /2/files/list_folder/continue. (Or, if you didn't use it, omit it again.)
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,910 PostsLatest Activity: 3 days agoIf 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!