When creating a new R2 API token with Read & Write permissions it doesn’t seem to authenticate.
I have created multiple tokens in the past with no issues.
I am using Rclone to simply list the directories within an r2 bucket.
Error:
2024/06/14 12:05:43 ERROR : : error listing: Unauthorized: Unauthorized
status code: 401, request id: , host id:
2024/06/14 12:05:43 Failed to lsd with 2 errors: last error was: Unauthorized: Unauthorized
status code: 401, request id: , host id:
I have used an existing token and it works fine.
I have also tested this on another colleagues device, with a separate Cloudflare account and a new bucket, with a new API token with the same rclone version and the latest rclone.