Access to R2 via AWS CLI get Access Denied

For Workers & Pages, what is the name of the domain?

example.com

What is the error message?

An error occurred (AccessDenied) when calling the ListBuckets operation: Access Denied

What is the issue or error you’re encountering

Cant acccess o list items o buckets in my R2

What are the steps to reproduce the issue?

I am trying to access my R2 bucket but I always get the same error message: Access denied.

I have verified that the API Key token is configured with Administrator read and write permissions. I have recreated several tokens, deleted them, created and deleted buckets, and I always encounter the same problem. I cannot access the R2 buckets.

This issue occurs whether I try to access them via AWS CLI or Postman.

Screenshot of the error