Hi, As you said I have upgraded serverless till 3.32.2 also downgraded aws sdk till version 2 and using nodejs 18 as a runtime provider. Every thing was looking fine initially but now getting some issue in lambda while calling as below.
**Uncaught exception **
error
The security token included in the request is invalid
We have identified this issue seems coming from serverless. we did some syntax level changes as well like * provider.role
→ provider.iam.role
but still not working and issue is coming.
Sharing some similar thread I found on internet
Here I am using role base acces so not using aws access and secret key.
Could you please help me out how to fix it?