One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
jgroen
8 years agoNew member | Level 2
Create Sharelink issues for files not uploaded yet
I set this parameter before generating a sharelink: dropbox.sharing.PendingUploadMode.folder
This works fine as long if I don`t go deeper that one (not yet indexed folder) folder.
So if create folder/folder2 and they are not indexed yet the API will throw an error on generating a sharelink for folder2.
I understand this behaviour. Dropbox can not know (yet) which parent folders exist and therefore throws a lookup error. Is there any way to work around this? We sometimes add a lot of files which causes delays in indexing (and therefore the generate sharelink issues)
Example of error:
updateApiError('5c3ff85396c07b0dc59c6b5e53703877', CreateSharedLinkError(u'path', LookupError(u'not_found', None)))
- jgroenNew member | Level 2
Gotcha. Can you tell me how the official Dropbox client handles this particular situation? Would it also fail, or does it use the workaround? Many thanks
- Greg-DB
Dropbox Staff
The official Dropbox client works in a very different way entirely, so it isn't a useful comparison unfortunately.
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,940 PostsLatest Activity: 2 days ago
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!