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
botocore.exceptions.ClientError: An error occurred (InvalidLocationConstraint) when calling the CreateBucket operation: The specified location-constraint is not valid
This probably has to do with this "bug/quirk":
The location constraint for S3 US East region is an empty string according to the following documentation. You should always leave it blank when referring to S3 US Standard region.
Yeah this is the same as this request: #125. I think it would be nice if we did something to handle this or autopopulate location constraint for the user. I am going to close this as a duplicate, but let's keep the conversation going in the linked issue.
This code fails
With this error:
This probably has to do with this "bug/quirk":
But IMO the library should handle this quirk and allow "us-east-1" as the location string.
EDIT: Actually empty string also doesn't work, you have to omit the
LocationConstraint
parameter entirely.The text was updated successfully, but these errors were encountered: