Expected Behavior
No errors.
Actual Behavior
InvalidSignatureException error intermittently appearing in our logs, resulting in invalid token validation that caused auth issues for users.
Steps to Reproduce the Problem
Unfortunately, this is not something we've been able to consistently replicate. The error started happening when we upgraded from v9.115.0 to v9.116.0 and went away when we downgraded.
Specifications
- Datadog Lambda Layer version:
v9.116.0
- Node version:
AWS Lambda Node.js 20.x
Stacktrace
InvalidSignatureException: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.
at constructor.CIi (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/protocol/json.js:80:27)
at constructor.callListeners (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at constructor.emit (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at constructor.emitEvent (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/request.js:686:14)
at constructor.t (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/request.js:22:10)
at ONe.ONe.runTo (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/state_machine.js:14:12)
at done (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/state_machine.js:26:10)
at constructor.<anonymous> (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/request.js:38:9)
at constructor.<anonymous> (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/request.js:688:12)
at constructor.callListeners (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
at constructor.emit (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at constructor.emitEvent (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/request.js:686:14)
at constructor.t (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/request.js:22:10)
at ONe.ONe.runTo (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/state_machine.js:14:12)
at done (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/state_machine.js:26:10)
at constructor.<anonymous> (/node_modules/.pnpm/aws-sdk@2.1502.0/node_modules/aws-sdk/lib/request.js:38:9)
Assuming your internal IDs are unique, an example can be found via:
span id: 7530370475899081053
trace id: 3907063422949516603
If necessary, I can share more information about this through your regular private support channel.
Expected Behavior
No errors.
Actual Behavior
InvalidSignatureExceptionerror intermittently appearing in our logs, resulting in invalid token validation that caused auth issues for users.Steps to Reproduce the Problem
Unfortunately, this is not something we've been able to consistently replicate. The error started happening when we upgraded from
v9.115.0tov9.116.0and went away when we downgraded.Specifications
v9.116.0AWS Lambda Node.js 20.xStacktrace
Assuming your internal IDs are unique, an example can be found via:
span id:
7530370475899081053trace id:
3907063422949516603If necessary, I can share more information about this through your regular private support channel.