You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The xxx bucket locates in us-east-1 region.
The error is:
An error occurred (IllegalLocationConstraintException) when calling the GetObject operation: The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.
But this command works in other regions.
And in UAE it could work if we specify the region:
Hi @wc5858, thanks for reaching out. UAE is an opt-in region, and you need to specify the region for opt-in regions to make this request. You can either specify --region us-east-1 or --endpoint-url https://s3.us-east-1.amazonaws.com. The latter should allow you to make this request from the UAE region. Hope that helps!
Hi @wc5858, thanks for reaching out. UAE is an opt-in region, and you need to specify the region for opt-in regions to make this request. You can either specify --region us-east-1 or --endpoint-url https://s3.us-east-1.amazonaws.com. The latter should allow you to make this request from the UAE region. Hope that helps!
Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the bug
The following command failed in UAE:
The
xxx
bucket locates in us-east-1 region.The error is:
But this command works in other regions.
And in UAE it could work if we specify the region:
Expected Behavior
The command should work without specifying source region of the s3 bucket just like other regions do.
Current Behavior
The command doesn’t work in UAE without specifying source region of the s3 bucket.
Reproduction Steps
Use following command in UAE to copy file from a bucket in another region:
Possible Solution
No response
Additional Information/Context
No response
CLI version used
aws-cli/2.13.17 Python/3.11.5 Linux/5.10.186-179.751.amzn2.x86_64 exec-env/CloudShell exe/x86_64.amzn.2 prompt/off
Environment details (OS name and version, etc.)
Linux
The text was updated successfully, but these errors were encountered: