Region in aws.

0

When I upload or delete a record in aws s3 with region us-east-1 it works but when I try to generate a presigned Url the url is generated but I'm getting this error in message tag. "The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.". How do I resolve this?

質問済み 4年前1844ビュー
2回答
0

Hi,

This error message is usually received when using the wrong endpoint format or trying to access a bucket which is hosted in a different region than the one specified. Since you are generating a pre-signed URL, an incorrect endpoint format seems less likely. Thus, please check and make sure that the region in which the bucket is hosted and the region that is specified at the time of generating the pre-signed URL are the same.

[] Uploading objects using presigned URLs - https://docs.aws.amazon.com/AmazonS3/latest/dev/PresignedUrlUploadObject.html

-Vinay K.

AWS
回答済み 4年前
0

Hi,
You were right! It did work when I changed my region but why didn't I get an error message when I uploaded oe deleted the records with the wrong region?

回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ