Nextcloud ubuntu - get-bucket versioning

When the configuration is entered for Amazon S3, everything is fine, it shows green

When the external storage is clicked, it shows directory is unavailable and the logs shows Error executing “GetBucketVersioning”. 403 forbidden response

I can mount the s3 using the same access key and secret key with other programs, seems problem with next cloud only

Latest nextcloud snap install ubunutu