rclone: Failed to get endpoints with Amazon Cloud Drive

Hi,

I managed to install and configure the app, but after the initial token expires (in one hour), rclone is not able to refresh the token. The error message I get is:

root@www:~# rclone ls Default:
2016/04/08 19:45:36 Failed to create file system for "Default:": Failed to get endpoints: Get https://drive.amazonaws.com/drive/v1/account/endpoint: oauth2: cannot fetch token: 400 Bad Request
Response: {"error_description":"The request has an invalid grant parameter : refresh_token","error":"invalid_grant"}

I run the command as root, so it’s probably not a permission issue.

Details:

  • Rclone version: rclone v1.28
  • OS: Ubuntu 14.04.4 LTS (x64)
  • Storage system: Amazon Cloud Drive

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 19 (6 by maintainers)

Most upvoted comments

This version fixes it for me. Nice one

OK Here is beta 3 which

  • does a re-authentication on 401 errors (working as per attempt 2)
  • does a retry on that particular 403 error

http://pub.rclone.org/v1.29-33-g085677dβ/

In my testing this works perfectly now - hopefully it will for you too.