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년 전1843회 조회
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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠