Open SBFRF opened 4 years ago
I too am receiving this error, and I'd expect better documentation for this.
Not sure where the log file is either but I had this 'Some error occurred' issue and saw a user fixed this on #501 by unlinking then regenerating a new key. This worked for me.
To second that: deleting my (ancient) app (created only for this purpose years ago) and recreating it with new settings also solved it.
Also important is a detail i initially overlooked in the setup: the "App Key" is not the key that this tool needs. Be sure to, in the Dropbox App Console, use the "Generate access token" option to get a key. That much longer ID is the one these tools need.
Edit: even so, i'd still like to know where this mysterious log file is.
AFAIK there is no log, but when you execute the script in debug mode (-d) there is some useful information in the response file:
$ cat /tmp/du_resp_debug
HTTP/1.1 100 Continue
HTTP/1.1 401 Unauthorized
Server: envoy
Date: Thu, 24 Sep 2020 19:33:07 GMT
Content-Type: application/json
Www-Authenticate: Bearer realm="Dropbox-API"
Content-Security-Policy: sandbox allow-forms allow-scripts
X-Dropbox-Request-Id: fa273c72916c4d6c8f31e24ec01d905d
X-Robots-Tag: noindex, nofollow, noimageindex
Strict-Transport-Security: max-age=15552000; includeSubDomains
X-Robots-Tag: noindex, nofollow, noimageindex
Vary: Accept-Encoding
Transfer-Encoding: chunked
{"error_summary": "invalid_access_token/..", "error": {".tag": "invalid_access_token"}}
For the sake of those stumbling across this ticket while looking for the mythical log, here's a second mistake i tripped over which lead to the invalid access token: Dropbox's dev console offers 2 styles of access token: short-lived and permanent. That toggle must be selected before generating the token or the default (short-lived) token only lives for 48 hours (or some similarly brief time). If you don't do that, your access will work today and then mysteriously fail a couple of days later, with no immediate indication as to why, barring use of the -d
debug flag.
when i am trying to do things i get a fail, with directions to check a log, the log file is not in the local directory (where i'm working) or in the
~/Dropbox-Uploader/
directory. Where would i find said log?