We Want to Hear From You! What Do You Want to See on the Community? Tell us here!
Forum Discussion
gagsbh
8 years agoHelpful | Level 5
Error in call to API function "files/list_folder/continue": Invalid "cursor" parameter:
Hello,
Please let me know the reason for the error.
I am getting the following exception when calling the following api:
ListFolderResult result = await client.Files.ListFolderContinueAsync(model.basechangetoken);
Error in call to API function "files/list_folder/continue": Invalid "cursor" parameter: 'AAELhq3bj_AIuoGp9ADVNJnMAvstrwePIbOQ9jGwcSqb_YTJa4oS8aoqr9HfdpH7XULmC5xdg3OKzPSkgC0yYPD5bNATMTwAQ3CBHhaarBXD3qws8pysY59f0jSkWMsjTnYT_ibTQPieUZHhDUGspA3HfnXr5_UMhQIiFAQoj1VlJCB-9tjKptP-NqwT8Tvq1CZsZqhKJ_E1yP7tyjU2r1ooMqr5TUnJ3Tv2i3v_YeUCUzW4r3Sd0Sm9A5_0RB3JAYUeAJQU6WtQlRbDCWPGyowbwhPa0Iu6Dxwk5FEqJ9x3bEkllEp7h-u5cyNBGTkD_-Pc2I9ovPuLrw4hb9-fCPbZ1mMtCzLeQtjEn9BXZffdwWItZbS5Kpb7EGbZDaVKezDIuKfGBsIibX8OOKdN8RgVH30LQ_kj6I1q0UZmsw36eYhQvAXuB1_5Ev7mZ5TMkADfTPMRbGyZIBgHt-Ygb2sHJL1gIEXFx15IpelEArqVsdrjU_IpXbpX8h6BxsTo74z_SMVYT3AYCz8L_eJBPWlKklrCwDFYlAP2A_jkpq0TLeNB9o_J61FBTJ_wItnkHRywro2EACN8n7OLscttDQQ8VX04DlTzXkosRC3vkfm5wmMDO8u3EBFQBpO78XC66hg0LMxoeMmQLX5W7krbFasZiMCeLRy-qf0eky5gFplZbr3N68NlucLr5k8NnYAouusKPwY7LIC9Gr49XX2YrNUaMGsZayVoOm5vJT5PhjYA-o82-im2gEkkT1cUU0INSApIZiJLdaE6TVcAPKu8ZLHbHfkMbmXeOipU44UIwPUZ2NbF9CyChMtrIvpBV_v7dO9dP6-9PeG3eQ43Z-6N1j0vPsZ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5m-ZdooJrlURWPEF6g4_ncknkY5PDBR5Zloz-rykt-YtzW4JZbEbV9DhPZPaaNVB0Zog5QnhtLi4cY8EmW4J0kY9QvZcxfzv88IcnjtAjVWbShSkA4a2Zjto7WlRBld5-RqHOIrLFMkrYkLuLfUxjeJG_dGLsmN4mMZI4FnC35ziG24AESBYBS-sv6xi8x75YvtJ2zljmKU6EeXFW2jQoQwtwuB6sPKQ'
at Dropbox.Api.DropboxRequestHandler.<RequestJsonString>d__17.MoveNext()
Thanks,
Gagan
1 Reply
- Greg-DB8 years ago
Dropbox Community Moderator
First, can you confirm that you received this cursor from a Files.ListFolder* method? If this is a cursor from something else, you won't be able to use it with Files.ListFolderContinue.
Second, can you check that your app isn't accidentally modifying (e.g., truncating) this cursor string? Cursors encode information about the state of the account, so they can get arbitrarily long, depending on how much information there is about the account to encode. E.g., if the account has shared folders, etc. Since there's no limit on how much information that may end up being, there's no limit on how long a cursor string can be. That being the case, you need to make sure there's no limit on the length of string you can persist, e.g., if you're storing them in a database.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.6,036 PostsLatest Activity: 2 hours ago
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 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!