Invalid region
I am trying to connect to cloudfare r2 bucket using s3 go sdk. But I am getting the following error:
operation error S3: ListBuckets, resolve auth scheme: resolve endpoint: endpoint rule error, Invalid region: region was not a valid DNS name.
Can someone please provide a solution ๐
4 Replies
How did your configure your client?
I followed this doc:
https://developers.cloudflare.com/r2/examples/aws/aws-sdk-go/
aws-sdk-go ยท Cloudflare R2 docs
You must generate an Access Key before getting started. All examples will utilize access_key_id and access_key_secret variables which represent the โฆ
Looks like something with the AWS go sdk changed. Try using
It works! Thanks!
๐๐ผ