App expects R2/S3 access key 32 chars long, but CF token in 40 chars long

A backup app works with S3 compatible systems, but has entries for Access Key and Secret Key. I generated a token with R2 access, but if I enter it in the Access Key slot I get this error:
"S3-Compatible (Generic) settings test result: Failure: We successfully accessed the bucket, but the attempt to create a file in it failed. Please check your access credentials. (UpdraftPlus_S3::putObject(): [InvalidArgument] Invalid Argument: Credential access key has length 40, should be 32)"
Any suggestion how to solve this? Thanks
3 Replies
Erisa
Erisa9mo ago
Sounds like you used the API Token (which is 40 characters) instead of the Access Key ID (which is 32)
Erisa
Erisa9mo ago
Create tokens using this link https://dash.cloudflare.com/?to=/:account/r2/api-tokens and then use the S3 credentials instead of the API token:
No description
newbie
newbieOP9mo ago
Yes!. that was it! thanks. I was using a different page to generate tokens, not the R2 specific one. Much appreciated
Want results from more Discord servers?
Add your server