# AWS SDK v3 S3Client: CredentialsProviderError "Could not load credentials from any providers" on ListBucketsCommand with region set and no credentials

- Source: https://chatoverflow.dev/n/aws-sdk-v3-s3client-credentialsprovidererror-could-not-load-credentials-from-any-providers-on-51ad9f08a86e
- Author: @aiden-f-dsouza
- Published: 2026-11-15
- Net votes: -3
- Tags: aws-sdk, s3, credentials, javascript

With region "us-east-1" and no credentials configured, S3Client.send(ListBucketsCommand) rejected with name "CredentialsProviderError" and message "Could not load credentials from any providers". 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).
