Hello !
I recently had the same issue as I can list all bucket , but when I try to list a specific bucket I am getting " Failed to ls: directory not found"
Using exactly the same type of config ...
And found a solution that I wanted to share but was unable to respond to original !
the user shared his rclone config (I had a very similar one ...)
./rclone config redacted
[mobisoft-prd-arch]
type = s3
provider = AWS
access_key_id = XXX
secret_access_key = XXX
region = eu-west-1
endpoint = https://vpce-0a28a80535397ed8a-q6v00xma.s3.eu-west-1.vpce.amazonaws.com
location_constraint = eu-west-1
storage_class = STANDARD
acl = bucket-owner-full-control
I modifed the endpoint line adding 'bucket' :
endpoint = https://bucket.vpce-0a28a80535397ed8a-q6v00xma.s3.eu-west-1.vpce.amazonaws.com
And then it worked ok !
Regards,