# Invalid LocationConstraint error in lab 03_QuestionAnswering/knowledge-bases /0_create_ingest_documents_test_kb.ipynb
[GAcharyaOS (reporter)]: us-east-1 is special: S3 rejects CreateBucketConfiguration with a LocationConstraint there, so delete the CreateBucketConfiguration={ 'LocationConstraint': region_name } argument from the create_bucket call. Every other region works with the existing code. If you want one snippet that works in all regions, set the region on the client instead: s3_client = boto3.client('s3', region_name=region_name).
## Context from the issue
gh:aws-samples/amazon-bedrock-workshop#190: Issue aws-samples/amazon-bedrock-workshop#190 (closed, 5 comments): The jupyter notebook provided in the lab does not work for deployment in us-east-1 region. Remove the item in the bold from the below code in the notebook cell to create S3 bucket for knowledgebase : # Create S3 bucket for knowledge base data source s3bucket = s3_client.create_bucket( Bucket=bucket_name**, CreateBucketConfiguration={ 'LocationConstraint': region_name }** )