Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
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)))
There isn't an option to change that behavior, so the only workaround that comes to mind is to explicitly create the parent folder(s) first. We'll consider it a feature request for a better way to do this though.
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
Hi there!
If you need more help you can view your support options (expected response time for a 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!