# InvalidSignatureException after upgrade NodeJS 20 to 22 in AWS lambda

**URL:** <https://forum.serverless.com/t/invalidsignatureexception-after-upgrade-nodejs-20-to-22-in-aws-lambda/21476>\
**Category:** Serverless Architectures\
**Tags:** aws, lambda, api-gateway\
**Created:** [November 4, 2025, 3:03am UTC](https://forum.serverless.com/t/invalidsignatureexception-after-upgrade-nodejs-20-to-22-in-aws-lambda/21476 "2025-11-04T03:03:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThangBui2703](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/thangbui2703/32/8468_2.png) [@ThangBui2703](https://forum.serverless.com/u/ThangBui2703)\
**Post date:** [November 4, 2025, 3:03am UTC](https://forum.serverless.com/t/invalidsignatureexception-after-upgrade-nodejs-20-to-22-in-aws-lambda/21476/1 "2025-11-04T03:03:06Z")

</div>

Hi everyone, I am facing with problem when upgrade to nodeJS 22 that i have a lambda call to another lambda via axios, the error send back with error 502, when i check the cloud watch in lambda receive call it throw error like this

{  
“errorType”: “Runtime.UnhandledPromiseRejection”,  
“errorMessage”: “InvalidSignatureException: Signature expired: 20251103T110018Z is now earlier than 20251103T110817Z (20251103T112317Z - 15 min.)”,  
“trace”: [  
“Runtime.UnhandledPromiseRejection: InvalidSignatureException: Signature expired: 20251103T110018Z is now earlier than 20251103T110817Z (20251103T112317Z - 15 min.)”,  
" at process. (file:///var/runtime/index.mjs:1448:17)“,  
" at process.emit (node:events:518:28)”,  
" at emitUnhandledRejection (node:internal/process/promises:252:13)“,  
" at throwUnhandledRejectionsMode (node:internal/process/promises:388:19)”,  
" at processPromiseRejections (node:internal/process/promises:475:17)“,  
" at process.processTicksAndRejections (node:internal/process/task\_queues:106:32)”  
]  
}

Please help me. Thanks you.

---

<div class="post-metadata">

**Author:** ![beenmeckel](https://avatars.discourse-cdn.com/v4/letter/b/8dc957/32.png) [@beenmeckel](https://forum.serverless.com/u/beenmeckel)\
**Post date:** [February 5, 2026, 4:27pm UTC](https://forum.serverless.com/t/invalidsignatureexception-after-upgrade-nodejs-20-to-22-in-aws-lambda/21476/2 "2026-02-05T16:27:42Z")

</div>

The InvalidSignatureException is an error, most commonly encountered when interacting with Amazon Web Services (AWS), which indicates a problem with the request’s authentication signature

[9Apps](https://9apps.ooo/) [Tutuapp](https://tutuapp.uno/)
