We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
rk90
6 years agoHelpful | Level 5
Calling /2/files/list_folder/continue without headers
There are several endpoints that have a corresponding `continue` endpoint that allow for pagination. My question is do the corresponding `continue` endpoints require the same headers and json body that was passed initially.
For example I call /2/files/list_folder with following headers and request body
Headers = {'Dropbox-API-Path-Root': '{".tag": "namespace_id", "namespace_id": "795884475"}'}
Data = {"path": "", "recursive": True}
I get the result and use the cursor to call /2/files/list_folder_continue. Now when calling /2/files/list_folder_continue, do I also need to pass the Headers and Data that was passed to /2/files/list_folder or I just pass the cursor in request body?
- Greg-DBDropbox Staff
You should use the same headers, but the body is used for endpoint-specific parameters, which can vary by endpoint. The /2/files/list_folder and /2/files/list_folder/continue endpoints in particular do take different parameters. For /2/files/list_folder/continue, the body should only contain the expected "cursor" parameter as JSON.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,877 PostsLatest Activity: 12 months 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!