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?

posta 4 anni fa1843 visualizzazioni
2 Risposte
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
con risposta 4 anni fa
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?

con risposta 4 anni fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande