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)))