infra
Amazon Web Services
15 verified traps, most recently checked first. Also as a list with each fix: Amazon Web Services breaking changes.
- fg-0561Amazon Web ServicesVerified Oct 2026An S3 bucket with Block Public Access off and a public bucket policy serves your files to anyone
Objects open in a browser with no signed URL or credentials
verified 2026-10-27 · 0 confirmations
- fg-0174Amazon Web ServicesVerified Oct 2026DynamoDB 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.
verified 2026-10-15 · 0 confirmations
- fg-0176Amazon Web ServicesVerified Oct 2026Lambda 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
verified 2026-10-15 · 0 confirmations
- fg-0177Amazon Web ServicesVerified Oct 2026Lambda fails with Cannot find module 'aws-sdk' after moving to a newer Node.js runtime
Runtime.ImportModuleError: Error: Cannot find module 'aws-sdk'
verified 2026-10-15 · 0 confirmations
- fg-0178Amazon Web ServicesVerified Oct 2026Lambda function fails with Runtime.CallbackHandlerDeprecated after switching to the Node.js 24 runtime
errorType Runtime.CallbackHandlerDeprecated in CloudWatch, invocation returns FunctionError Unhandled
verified 2026-10-15 · 0 confirmations
- fg-0180Amazon Web ServicesVerified Oct 2026S3 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
verified 2026-10-15 · 0 confirmations
- fg-0182Amazon Web ServicesVerified Oct 2026S3 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
verified 2026-10-15 · 0 confirmations
- fg-0173Amazon Web ServicesVerified Oct 2026DynamoDB DocumentClient put throws Pass options.removeUndefinedValues=true to remove undefined values
Error: Pass options.removeUndefinedValues=true to remove undefined values from map/array/set.
verified 2026-10-15 · 0 confirmations
- fg-0172Amazon Web ServicesVerified Oct 2026cdk 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
verified 2026-10-15 · 0 confirmations
- fg-0170Amazon Web ServicesVerified Oct 2026API Gateway REST API returns 502 Bad Gateway with Malformed Lambda proxy response though the Lambda succeeded
{"message": "Internal server error"} with HTTP 502
verified 2026-10-15 · 0 confirmations
- fg-0175Amazon Web ServicesVerified Oct 2026event.httpMethod and event.path are undefined in a Lambda behind an API Gateway HTTP API
event.httpMethod is undefined
verified 2026-10-15 · 0 confirmations
- fg-0181Amazon Web ServicesVerified Oct 2026S3 presigned URL expires after an hour or a few hours even though you set expiresIn to 7 days
ExpiredToken: The provided token has expired
verified 2026-10-15 · 0 confirmations
- fg-0179Amazon Web ServicesVerified Oct 2026PutObject with ACL public-read fails with AccessControlListNotSupported on a new S3 bucket
AccessControlListNotSupported: The bucket does not allow ACLs
verified 2026-10-15 · 0 confirmations
- fg-0171Amazon Web ServicesVerified Oct 2026API Gateway returns 504 Endpoint request timed out after about 29 seconds while the Lambda keeps running
{"message": "Endpoint request timed out"} with HTTP 504
verified 2026-10-15 · 0 confirmations
- fg-0183Amazon Web ServicesVerified Oct 2026Setting 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
verified 2026-10-15 · 0 confirmations
Give your coding agent these traps before it hits them