Amaon has removed support to rclone for the token.
run rclone config to make a new remote like this
No remotes found - make a new one n) New remote s) Set configuration password q) Quit config n/s/q> n name> acd Type of storage to configure. Choose a number from below, ortypein your own value 1 / Amazon Drive \ "amazon cloud drive" 2 / Amazon S3 (also Dreamhost, Ceph, Minio) \ "s3" 3 / Backblaze B2 \ "b2" 4 / Dropbox \ "dropbox" 5 / Encrypt/Decrypt a remote \ "crypt" 6 / FTPConnection \ "ftp" 7 / Google Cloud Storage (this is not Google Drive) \ "google cloud storage" 8 / Google Drive \ "drive" 9 / Hubic \ "hubic" 10 / Local Disk \ "local" 11 / Microsoft OneDrive \ "onedrive" 12 / Openstack Swift (Rackspace Cloud Files, Memset Memstore, OVH) \ "swift" 13 / SSH/SFTP Connection \ "sftp" 14 / Yandex Disk \ "yandex" Storage> 1 Amazon Application Client Id - required. client_id> rclone Amazon Application Client Secret - required. client_secret> acd Auth server URL - leave blank to use Amazon's. auth_url> https://quixotic-module-170120.appspot.com/auth Token server url - leave blank to use Amazon's. token_url> https://quixotic-module-170120.appspot.com/token Remote config Make sure your Redirect URL is set to "http://127.0.0.1:53682/" in your custom config. Use auto config? * Say Y if not sure * Say N if you are working on a remote or headless machine y) Yes n) No y/n> y If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth Log in and authorize rclone for acces Waiting for code... Got code -------------------- [acd] client_id = rclone client_secret = acd auth_url = https://quixotic-module-170120.appspot.com/auth token_url = https://quixotic-module-170120.appspot.com/token token = XXXX -------------------- y) Yes this is OK e) Edit this remote d) Delete this remote y/e/d> y Now test it is working with rclone lsd acd:.