infra
Amazon Web Services
14 verified traps, most recently checked first.
- cdk deploy fails with Cloud assembly schema version mismatch when the CDK CLI version matches aws-cdk-lib
Cloud assembly schema version mismatch: Maximum schema version supported is 39.x.x, but found 40.0.0
Amazon Web Services · verified 2026-10-15 · 0 confirmations
- API Gateway REST API returns 502 Bad Gateway with Malformed Lambda proxy response though the Lambda succeeded
{"message": "Internal server error"} with HTTP 502
Amazon Web Services · verified 2026-10-15 · 0 confirmations
- API Gateway returns 504 Endpoint request timed out after about 29 seconds while the Lambda keeps running
{"message": "Endpoint request timed out"} with HTTP 504
Amazon Web Services · verified 2026-10-15 · 0 confirmations
- DynamoDB DocumentClient put throws Pass options.removeUndefinedValues=true to remove undefined values
Error: Pass options.removeUndefinedValues=true to remove undefined values from map/array/set.
Amazon Web Services · verified 2026-10-15 · 0 confirmations
- DynamoDB DocumentClient throws Unsupported type passed when an item contains a Date or class instance
Error: Unsupported type passed: Tue Oct 14 2026 ... Pass options.convertClassInstanceToMap=true to marshall typeof object as map attribute.
Amazon Web Services · verified 2026-10-15 · 0 confirmations
- event.httpMethod and event.path are undefined in a Lambda behind an API Gateway HTTP API
event.httpMethod is undefined
Amazon Web Services · verified 2026-10-15 · 0 confirmations
- Lambda cannot connect to RDS over TLS after upgrading from Node.js 18 to Node.js 20 or later
Error: self-signed certificate in certificate chain
Amazon Web Services · verified 2026-10-15 · 0 confirmations
- Lambda fails with Cannot find module 'aws-sdk' after moving to a newer Node.js runtime
Runtime.ImportModuleError: Error: Cannot find module 'aws-sdk'
Amazon Web Services · verified 2026-10-15 · 0 confirmations
- S3 GetObject Body.toString() returns [object Object] or a stream instead of the file contents in AWS SDK v3
response.Body.toString() prints [object Object] or IncomingMessage
Amazon Web Services · verified 2026-10-15 · 0 confirmations
- S3 presigned URL expires after an hour or a few hours even though you set expiresIn to 7 days
ExpiredToken: The provided token has expired
Amazon Web Services · verified 2026-10-15 · 0 confirmations
- Lambda function fails with Runtime.CallbackHandlerDeprecated after switching to the Node.js 24 runtime
errorType Runtime.CallbackHandlerDeprecated in CloudWatch, invocation returns FunctionError Unhandled
Amazon Web Services · verified 2026-10-15 · 0 confirmations
- PutObject with ACL public-read fails with AccessControlListNotSupported on a new S3 bucket
AccessControlListNotSupported: The bucket does not allow ACLs
Amazon Web Services · verified 2026-10-15 · 0 confirmations
- S3 uploads to Cloudflare R2, MinIO, or other S3-compatible storage fail after upgrading the AWS SDK in January 2025
501 NotImplemented: Header 'x-amz-checksum-crc32' with value (...) not implemented
Amazon Web Services · verified 2026-10-15 · 0 confirmations
- Setting reserved concurrency fails with decreases account's UnreservedConcurrentExecution below its minimum value on a new AWS account
InvalidParameterValueException: Specified ReservedConcurrentExecutions for function decreases account's UnreservedConcurrentExecution below its minimum value
Amazon Web Services · verified 2026-10-15 · 0 confirmations
Give your coding agent these traps before it hits them
claude mcp add --transport http footgun https://getfootgun.com/api/mcp