Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Suddenly I am not getting any changed set details from server. I have uploaded new folders and files in once specific folder but 2/files/list_folder/continue always returning me null entries.
Hello Greg
Thank you for your prompt response. I am amazed that its working now. Can you please guide me how much time it would take to fetch changeset details from dropbox because sometimes it fetches quickly and sometimes it takes our breath away by not fetching files on time.
This is my piece of code which execute after every 5 minutes to get changes from server.
var httpWebRequest = (HttpWebRequest)WebRequest.Create("https://api.dropbox.com/2/files/list_folder/continue"); httpWebRequest.Method = "POST"; httpWebRequest.Headers.Add("Authorization: Bearer " + GeneratedAccessToken); httpWebRequest.ContentType = "application/json"; using (var streamWriter = new StreamWriter(httpWebRequest.GetRequestStream())) { string json = new JavaScriptSerializer().Serialize(new { cursor = cursor_ }); streamWriter.Write(json); } string responseBody = ""; var httpResponse = (HttpWebResponse)httpWebRequest.GetResponse(); using (var streamReader = new StreamReader(httpResponse.GetResponseStream())) { var result = streamReader.ReadToEnd(); responseBody = result; }
Did you set include_media_info=true on /2/files/list_folder (not /continue) when you called it to retrieved the cursor initially? If you requested media information, there can be a delay before new entries will be returned (including from /continue), while the media information is being extracted. If not, the entries should be available almost immediately.
Hi there!
If you need more help you can view your support options (expected response time for a 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!