andreafabrizi / Dropbox-Uploader

Dropbox Uploader is a BASH script which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service.
https://www.andreafabrizi.it/2016/01/01/Dropbox-Uploader/
GNU General Public License v3.0
6.57k stars 1.08k forks source link

invalid_access_token #454

Open cherbin opened 6 years ago

cherbin commented 6 years ago

Hello,

I have provided the https://www.dropbox.com/oauth2/authorize/?client_id={ID}&response_type=code and the tester has accepted and given the code to use with the ~/.dropbox_uploader

I put the code in the ~/.dropbox_uploader

and when I try to run the script I get the following ++ local 'TYPE={"error_summary": "invalid_access_token/..", "error": invalid_access_token'

What I am doing wrong ?

Thanks

JeGoi commented 6 years ago

How did you put the code? The token need to be in a file ~/.dropbox_uploader/dropbox_uploader.conf with one line that is written like this OAUTH_ACCESS_TOKEN=your_token

barbalex commented 4 years ago

@JeGoi Is this documented somewhere? All I can find is this in the readme:

The first time you run dropbox_uploader, you'll be guided through a wizard in order to configure access to your Dropbox. This configuration will be stored in ~/.dropbox_uploader