These 2 errors are repeating multiple times within the Outbound Lambda function. SMS messages from mobile to cpp is showing up on the cpp window. However, messages from the cpp window do not show up on the mobile phone.
{
"errorType": "NotFoundException",
"errorMessage": "Resource not found",
"code": "NotFoundException",
"message": "Resource not found",
"time": "2021-12-07T14:56:01.705Z",
"requestId": "a3a8aa46-1539-4ec1-9c6b-41c8eb989314",
"statusCode": 404,
"retryable": false,
"retryDelay": 15.976111499447732,
"stack": [
"NotFoundException: Resource not found",
" at Object.extractError (/var/task/node_modules/aws-sdk/lib/protocol/json.js:52:27)",
" at Request.extractError (/var/task/node_modules/aws-sdk/lib/protocol/rest_json.js:49:8)",
" at Request.callListeners (/var/task/node_modules/aws-sdk/lib/sequential_executor.js:106:20)",
" at Request.emit (/var/task/node_modules/aws-sdk/lib/sequential_executor.js:78:10)",
" at Request.emit (/var/task/node_modules/aws-sdk/lib/request.js:686:14)",
" at Request.transition (/var/task/node_modules/aws-sdk/lib/request.js:22:10)",
" at AcceptorStateMachine.runTo (/var/task/node_modules/aws-sdk/lib/state_machine.js:14:12)",
" at /var/task/node_modules/aws-sdk/lib/state_machine.js:26:10",
" at Request. (/var/task/node_modules/aws-sdk/lib/request.js:38:9)",
" at Request. (/var/task/node_modules/aws-sdk/lib/request.js:688:12)"
]
}
{
"errorType": "ReferenceError",
"errorMessage": "CUSTOMER is not defined",
"stack": [
"ReferenceError: CUSTOMER is not defined",
" at validateRecord (/var/task/index.js:72:57)",
" at Runtime.exports.handler (/var/task/index.js:29:10)",
" at Runtime.handleOnce (/var/runtime/Runtime.js:66:25)"
]
}