cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done here!

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create Sharelink issues for files not uploaded yet

Create Sharelink issues for files not uploaded yet

jgroen
New member | Level 2

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

3 Replies 3

Re: Create Sharelink issues for files not uploaded yet

Greg-DB
Dropboxer

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.

Re: Create Sharelink issues for files not uploaded yet

jgroen
New 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

Re: Create Sharelink issues for files not uploaded yet

Greg-DB
Dropboxer
The official Dropbox client works in a very different way entirely, so it isn't a useful comparison unfortunately.
Poll
We love to learn from the educators who use Dropbox. Whether you teach kids, teens, adults or a combination of all three, we want to know what apps and integrations you use with Dropbox to help with teaching. Which of the ones below is your favorite, or most used tool?
Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
  • User avatar
    jgroen New member | Level 2
What do Dropbox user levels mean?
Need more support?