Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hello,
I have use following code to listen changes but it throws an error like "Invalid Cursor", but using "dropbox-api-v2-explorer" it works perfectly.
DropboxClient dbx = new DropboxClient("MyAccessToken"); ListFolderContinueArg lfg = new ListFolderContinueArg("AAHMIjE6Xb7iOPnBsiqLXZcaI_Rws6bc9akToZqmasmjwA0QsoMX48TJ8aNKTL-5iuSYyUBo6QO4soj0NW5WvZC_9qT9qec0FZ4f0AztLdBtFH5L5PyJ-3eTFq_2BXeHM4-46MDjbEueCYf6ttLqWt93"); var list = await dbx.Files.ListFolderContinueAsync(lfg);
How to solve this problem?
Thank You
Sorry, It was my mistake. My access token was expired so that it shows Invalid Cursor. Now my problem is solved when I have update my AccesToken.
I am really very sorry to waste your time.
I am using following Code.
public class SyncOperation { static DropboxClient dbx = new DropboxClient("MyAccessToken"); public async void applyChanges() { ListFolderContinueArg lfg = new ListFolderContinueArg("AAFm_IAxqFFyTAcg43BDIcEmCMf8fFwXGJ6GaxjXJIebJjO6hAFZw73laDO743HI8KlVWGu-INc6tmcm5qKjILbUZJOt8X8i1Ifnjc1g6G3D_W5HATTXeiVOcLAuhhSESPuZrF1QuhwYpo4_4iZ72IeL"); var list = await dbx.Files.ListFolderContinueAsync(lfg); Console.WriteLine("Change List count : " + list.Entries.Count); foreach(var i in list.Entries) { Console.WriteLine(i.Name); } } }
I have generate Cursor from this link and passed in the parameter. It works fine when I have test that on this link. But in my code it throws "Invalid Cursor" exception.
Sorry, It was my mistake. My access token was expired so that it shows Invalid Cursor. Now my problem is solved when I have update my AccesToken.
I am really very sorry to waste your time.
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!