Hello everyone, I have a question.
I'm using the [Amazon Simple Storage Service (S3)]. I have a bucket on aws S3 created in the
AWS Region
EU (Paris) eu-west-3
Well, when I try to use the Object_Put, for example, I'm getting "invalid region" error, and I have setted accordingly that link:https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/S3/TS3Region.html
When I set the region as "USEast1", it works. Can someone explain me?
Thanks
Hi,
for eu-west-3 you have to set the Region to EUWest3.
When you say it works when you set the region to USEast1, then this would indicate that you have created the bucket there. Otherwise it wouldnt work.
Best
Stefan
Hi @Stefan Weber , thanks for reply.
Exactly, is expected to work with EUWest3, accordingly the link I've mentioned above, but, it does not work. I don't know why, but my bucket I have created in eu-west-3
Hi Daniel.
i created an s3 bucket in eu-west-3 and i was able to put an object to it with Object_Put.
I know that doesnt really help you, but at least it is not a bug of the S3 integration component. Maybe some policies on the bucket?
Hi @Stefan Weber , thank you for reply. Well, could be, but, if it is the “problem” shouldn’t work in USEast1…
Anyway, can you share with me which policies do you have enable on your bucket?
Thanks, Daniel
I created a new bucket with default settings (just entered the name in the console and click create).
Then i created a new user account with credentials and added the AmazonS3FullAccess policy just for testing purposes.
Weird. This was exactly what I did…:(
Just something you sure have checked. The region name is case sensitive.
Yes. I'm using it configured in my module as a Site property. As you can see, here is the value as it is...
@Stefan Weber just one quick question. Do you know if I enable ACLs can interfere on it?
Hi, I just checked that and enabled acls with Owner preferred. Yet i still can put without any problems.
@Stefan Weber Did you allow public access or no?
could you check if you have the latest forge version installed?
@Stefan Weber gotcha! I had the block public access settings for this bucket disabled, and now, I create a new one with it enabled, and could procced with the object put using the correct region and it works
Very interesting. That is actually totally misleading error message then. Congrats anyhow!
anyway, I apprecciate you trying to help me. Now I have problems with AmazonTextract_IS extension, will do another question in the correct place.
weird, the behaviour back to happen
Hi, I'm getting exact same error, I'm currently using another extension, and it works fine, since this is a supported component I'm trying to use it but getting this issue....Region i need to use is us-east-1
Changing the region from us-east-1 to USEast1 fixed the issue, what's the reason why the region format needs to be like this?
Because it's how amazon define their code. They are expecting regions in that format, as you can see on their documentation: https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/S3/TS3Region.html
According to the AWS documentation, the value format for Region should be USWest2 instead of us-west-2.
Any region format gives the same error. Tried to make a bucket public. Nothin works:
Invalid region ILCentral1