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

DartVader's avatar
DartVader
New member | Level 2
8 years ago

Cursor max size

Hello, My plugin is like proxy for the dropbox api, and I should return some stuff. In some cases I have to return the cursor (for example when i list a folder), and sometimes it is too big. can I set the max size of it or reduce it?

Thank you

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff
    Unfortunately, it's not possible to limit the cursor size (the length depends on the amount of information it needs to encode, which will vary by account). I'll send this along as a feature request though.
    • VVildVVolf13's avatar
      VVildVVolf13
      Explorer | Level 3

      What does it depend on? I can respond a message for user, like "the dropbox returned too long cursor for this resource, please try to <...>", could you give me any suggestions for users?

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff
        The cursor length depends on the number of shared folders, team folders, and app folders in the account, as well as the amount of file activity. I don't recommend asking the user to modify their behavior or account to avoid this. I instead recommend updating your app to accommodate cursors of any length.

About Dropbox API Support & Feedback

Node avatar for Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

5,911 PostsLatest Activity: 5 hours ago
333 Following

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!