I have an app written in Python to upload files which I set up in the www.dropbox.com/developers/apps section. I generated an access token and chose the expiration to be "No Expiration". When I run it manually with "python app_name.py" it works. But when I setup a cron job (with the same python interpreter etc.) I receive the error:
raise BadInputException('OAuth2 access token or refresh token must be set')
dropbox.dropbox_client.BadInputException: OAuth2 access token or refresh token must be set
I tried to look for instructions about how to get this refresher token but didn't find anything. What's going on? How it works when I do it manually? Please assist.