Search code examples
dropboxdropbox-apifile-sharing

Cannot Retrieve a Share URL


All I'm trying is to to get a link for sharing the uploaded file.

I send the POST request to this URL:

api.dropbox.com/1/shares/auto/my_text_file.txt?all_the_oauth1_stuff...

But I always receive the 401 not authorized error.

I'm kinda following the documentation, so could anyone explain what I might be doing wrong?


Solution

  • The problem was occurring because of the wrong encoding of the file name (which worked for download / upload scenarios)