S3 compatible server (DELL/EMC) Remote State setup

Hello,
We are using Dell/EMC’s Object Storage (ECS) which is S3 compatible storage for Terraform’s remote state backend.

Since its S3 based, I used S3 configuration as shown below:

terraform {
backend “s3” {
bucket = “bucket-name”
endpoints = { s3 = “https://our.endpoint/” }
key = “test/tf.state”
workspace_key_prefix = “test”
secret_key = “"
access_key = "

region = “us-east-1”
encrypt = “false”
skip_credentials_validation = “true”
skip_requesting_account_id = “true”
}
}

When initializing, its throwing the below error:

│ Error: Failed to get existing workspaces: Unable to list objects in S3 bucket “bucket-name” with prefix “test/”: operation error S3: ListObjectsV2, exceeded maximum number of attempts, 5, https response error StatusCode: 0, RequestID: , HostID: , request send failed

Here are my troubleshooting steps:
Direct testing with REST Client & S3 Browser Application (Successful):
When we use the REST client from our browser I can connect to the S3 Bucket directly and also using S3 browser application. The creds has Full Control permissions on the bucket itself.

Testing via AWS CLI Commands:
When I use the same creds from AWS Configure, I see the buckets listed fine and also I can see the accessid as the owner on the bucket.

Even though I gave the workspace_key_prefix parameter with right folder path in the bucket, its still failing with the above error.

How can I get this thing sorted out??

Cheers in advance Terraform’ers!!