☁️ AWS errors

Amazon Web Services errors: IAM AccessDenied, expired tokens, throttling and S3 issues.

CodeErrorWhat it means
Task timed out AWS Lambda: Task timed out after X seconds The function ran longer than its configured timeout (default 3 seconds) and Lambda stopped it.
AccessDenied AWS S3: AccessDenied (403) when calling GetObject / PutObject An IAM policy, bucket policy, ACL/ownership setting, Block Public Access or KMS key policy denied the S3 requ…
NoSuchKey AWS S3: NoSuchKey / NoSuchBucket — The specified key/bucket does not exist S3 found no object at that key (or no bucket with that name in the region/account you’re calling).
ExpiredToken AWS: ExpiredToken — The security token included in the request is expired Temporary AWS credentials (STS/SSO/assumed role) have expired.
SignatureDoesNotMatch AWS: SignatureDoesNotMatch / InvalidClientTokenId — the request signature we calculated does not match AWS rejected the request signature — wrong secret key, wrong region, clock skew, or a presigned URL used diff…
ThrottlingException AWS: ThrottlingException / Rate exceeded You exceeded the request rate for an AWS API; retry with exponential backoff.
NoCredentialsError AWS: Unable to locate credentials / Could not load credentials from any providers The AWS CLI/SDK found no credentials in any place it looks — env vars, profile files, SSO cache or an instanc…