We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
axew3
9 years agoCollaborator | Level 8
[has_more] => 1 (but there are no more files to retrieve)
Hello, i found a problem on calling shared links, that i've finally resolve, with a further check after, but it is not clear to me (maybe it is normal). The App type is an App folder, in the dropbox ...
- 9 years agoThanks for the report! This is a known issue, but I don't have a timeline for a fix right now.
- 9 years ago
p.s to be more precise for who can read this:
a dbx curl call in this case (shared links), should return [has_more] => 1 if there are more than 200 files to retrieve. If there are not more files to retrieve, but the array contain by the way the
[has_more] => 1
by counting first returned result, checking that it contain at least 200 keys, we can be sure there are more files to retrieve ... well not completely sure because ....
we'll check that the next call, will not be maybe empty, in the case files to retrieve was exactly 200 ... mh maybe this can happen rarely ... but of course can happen, so better expect it. In this way, nothing can fail.
Greg-DB
Dropbox Community Moderator
9 years agoThanks for the report! This is a known issue, but I don't have a timeline for a fix right now.
- axew39 years agoCollaborator | Level 8Hello Greg, it's not a big bug, as we can count with easy the first returned array!
It's really easy to fix. Thank you ;)- axew39 years agoCollaborator | Level 8
p.s to be more precise for who can read this:
a dbx curl call in this case (shared links), should return [has_more] => 1 if there are more than 200 files to retrieve. If there are not more files to retrieve, but the array contain by the way the
[has_more] => 1
by counting first returned result, checking that it contain at least 200 keys, we can be sure there are more files to retrieve ... well not completely sure because ....
we'll check that the next call, will not be maybe empty, in the case files to retrieve was exactly 200 ... mh maybe this can happen rarely ... but of course can happen, so better expect it. In this way, nothing can fail.
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!