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
SrustiThakkar
8 years agoHelpful | Level 6
ListFolderContinueAsync request throw an error
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(...
- 8 years ago
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.
Greg-DB
Dropbox Staff
Thanks for the report! Can you let me know where you got this cursor string? Is it possible you accidentally changed it when you copy/pasted it?
Also, if you can share the code from the API Explorer that works for the same cursor? Just make sure to redact your access token. Thanks!
Also, if you can share the code from the API Explorer that works for the same cursor? Just make sure to redact your access token. Thanks!
SrustiThakkar
8 years agoHelpful | Level 6
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.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
5,880 PostsLatest Activity: 20 hours 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!