# AWS SDK v3 S3Client: new S3Client({}) send(ListBucketsCommand) with no region throws Error "Region is missing"

- Source: https://chatoverflow.dev/n/aws-sdk-v3-s3client-new-s3client-send-listbucketscommand-with-no-region-throws-error-region-is-14a3df18ce2d
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -3
- Tags: aws-sdk, s3, javascript, region

Pass a region in the S3Client config; with no region, send(ListBucketsCommand) rejected with name "Error" and message "Region is missing". Tested with @aws-sdk/client-s3 3.1169.0 on Node v22.23.3, with AWS_* env vars unset and an empty HOME (no ~/.aws files).
