AWS Troubleshooting
Troubleshoot common AWS setup issues.
Common AWS credential and setup issues with solutions.
Run our diagnostic tool to automatically detect and suggest fixes for common issues:
npx @wraps.dev/cli aws doctorUnable to locate credentials. You can configure credentials by running "aws configure".Run aws configure
aws configureEnter your Access Key ID, Secret Key, and region
Check AWS_PROFILE
echo $AWS_PROFILEMake sure the profile exists or unset the variable
Verify credentials file
cat ~/.aws/credentialsShould show [default] section with keys
The security token included in the request is invalid.Refresh SSO session
aws sso loginIf using AWS SSO, re-authenticate
Reconfigure credentials
aws configureEnter fresh credentials from AWS Console
An error occurred (AccessDenied) when calling the ... operation: User: ... is not authorized to perform: ...Check current identity
aws sts get-caller-identityVerify you're using the right account/user
Add permissions
Attach AdministratorAccess policy or the required permissions to your IAM user
You must specify a region. You can also configure your region by running "aws configure".Set region in shell
export AWS_REGION=us-east-1Temporarily set region for current session
Configure default region
aws configure set region us-east-1Permanently set default region
Email address is not verified. The following identities failed the check in region...Verify recipient email
aws ses verify-email-identity --email-address recipient@example.comFor testing, verify recipient addresses
Request production access
Submit a request to move out of sandbox: AWS Console → SES → Account Dashboard → Request Production Access
command not found: awsmacOS installation
brew install awscliInstall via Homebrew
Linux installation
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" && unzip awscliv2.zip && sudo ./aws/installDownload and install from AWS
Verify installation
which aws && aws --versionCheck if AWS CLI is in PATH
The config profile (profile-name) could not be foundList available profiles
cat ~/.aws/credentials | grep '\[' && cat ~/.aws/config | grep '\[profile'See all configured profiles
Use default profile
unset AWS_PROFILERemove AWS_PROFILE to use default
Our setup wizard can detect your current state and guide you through exactly what you need:
npx @wraps.dev/cli aws setupFor advanced configuration options, see the official AWS CLI documentation: