rclone: Jotta Cloud stopped working after rclone upgrade - empty token found
What is the problem you are having with rclone?
Error when trying to refresh the token for Jottacloud remotes:
Failed to get resource token: HTTP error 400 (400 Bad Request) returned body: “{“error”:“invalid_grant”,“error_description”:“The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client.”}”
What is your rclone version (output from rclone version)
1.46
Which OS you are using and how many bits (eg Windows 7, 64 bit)
Windows 10, Linux
Which cloud storage system are you using? (eg Google Drive)
Jottacloud
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Any command for a Jottacloud remote
A log from the command with the -vv flag (eg output from rclone -vv copy /tmp remote:tmp)
2019/02/21 11:47:01 Failed to create file system for "jc:/": couldn't get account info: failed to get endpoint url: Get https://www.jottacloud.com/jfs/XXX@XXX.com: oauth2: cannot fetch token: 400 Bad Request
Response: {"error":"invalid_grant","error_description":"The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client."}
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (7 by maintainers)
Commits related to this issue
- jottacloud: fix token refresh - fixes #2992 — committed to buengese/rclone by buengese 5 years ago
- jottacloud: fix token refresh - fixes #2992 — committed to buengese/rclone by buengese 5 years ago
- jottacloud: fix token refresh - fixes #2992 — committed to gcornut/rclone by buengese 5 years ago
- jottacloud: fix token refresh - fixes #2992 — committed to gcornut/rclone by buengese 5 years ago
Great news,
after clean up all conf, created just one from scratch, ensure there was no other instance running in both machines and performed a preventive restart on the NAS ensuring the correct rclone version is in used (do not ask, too much rclone versions in my /bin folder 😃 ) I can confirm it worked.
After 5 hours of mount, it is still available…
2019/05/30 09:56:13 DEBUG : : Re-reading directory (5h10m10.759221864s old) 2019/05/30 09:56:13 DEBUG : oDroid-JottaNew2: Loaded invalid token from config file - ignoring 2019/05/30 09:56:14 DEBUG : oDroid-JottaNew2: Saved new token in config file
in parallel, the rclone.conf file is also updated at the same time -rw------- 1 root root 5814 may 30 09:56 rclone.conf
Congratulations and thanks a lot for your support. @buengese well done. @ncw Thanks again for your help, it is always much appreciated. You are always very helpful and proactive.
Both of you know you have my full support, two times “buying flowers (and other pretty things)”… there will be more.
Seems Jottacloud has changed the API, see #3434
Should be fixed in the latest beta