function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
rehan ch 8rehan ch 8 

Facing error in AmazonConnectSalesforceLambda Response: [ { "message": "Session expired or invalid", "errorCode": "INVALID_SESSION_ID" } ]

I have set up AmazonConnectSalesforceLambda function. This lambda function was initially working fine and fetching results from Salesforce. But now, after a few months, I reviewed the lambda function and it is throwing error:
{     "message": "Session expired or invalid", "errorCode": "INVALID_SESSION_ID" }
I haven't  changed anything in it and don't know why it is throwing this error. I have implemented something like this (https://amazon-connect.github.io/amazon-connect-salesforce-cti/docs/lightning/installation/04-salesforce-lambdas-manual-setup/). Please guide me how I can resolve this error or where to make changes. 
ABAB
There was doamin change recenlty, please check that