Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
SrustiThakkar
9 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(...
- 9 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 Community Moderator
9 years agoThanks 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
9 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.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!