Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
maxior1234
4 years agoExplorer | Level 3
/list_folder/get_latest_cursor -> shared_link
Hello, I noticed that for get_latest_cursor you can add a shared_link parameter. If I understand the documentation correctly, this parameter allows you to get the cursor for a file whose name is cont...
Здравко
4 years agoLegendary | Level 20
Hi maxior1234,
As far as you are correctly describing what you want, it's a cursor actually. As I mentioned cursor describe current enumeration state, nothing else. If the added files (past the last cursor) are not too much, you can add them to your sheet by hand and use the /2/files/list_folder/get_latest_cursor call (applied to containing folder, not to a file) to get the actual (latest in this case) cursor and continue further. Otherwise you have to start listing from beginning. To avoid such "incidents", review why you have lost your cursor and take measures (if changes in the file is the reason, keep/backup the cursor in alternative file for instance - don't rely on insecure storage).
Good luck.
maxior1234
4 years agoExplorer | Level 3
Does cursor have any life expectancy? For example, it happens that tokens expire after a certain period of time, or is it similar with cursor?
- Здравко4 years agoLegendary | Level 20
No, no... Definitely not. Cursor doesn't expire. Just check why you have it lost (if you lost it, why you have doubts it expires 🧐)! Only this will let you fix the issue and avoid further "incidents". 😉 You may have some weaknesses in your application algorithm. Check this too.
- maxior12344 years agoExplorer | Level 3
I am wondering about one solution? Currently cursor saves in one place. Since I download information about files one at a time, it gets another cursor after each download. If I were to write cursor on the same line as the file information, maybe this would help to eliminate this situation. If so, I would always have the cursor either the last one, or at least before the last one. Separating the cursor from the rest is also good, but it doesn't rule out my mistake, for example. In the sense that I will accidentally replace it with the wrong cursor. I have some of the same automations that work the same but use different places in the dropbox. On the other hand, the option that I am writing about a moment earlier is more difficult to implement.
- Здравко4 years agoLegendary | Level 20
maxior1234, Only you know how exactly your application works (or how it's supposed to, at least). That's why I can't comment what's the best. Again without clearance why you get you cursor lost, you are speculating here and force others to speculate too! For sure you need to clarify the reason and after that the solution.
About to "write cursor on the same line as the file information". 🤔 It's not a good idea. Dropbox doesn't guarantee you can get such a cursor for every single file! Again cursor represent enumeration state; one enumeration step can enumerate from zero to multiple entries (in spite of you can point some count). Providing a count of entries represent your wish and it's not mandatory for Dropbox (Dropbox will try to cover your wish). This make such a way very "slippery"! Don't do this if you are not sure what exactly you are doing.
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!