The script threw a few errors last night; couldn't see anything in the issue log so wanted to flag it. They appear to be spam emails anyway so I'm not too concerned but wondered if it could be an issue for legitimate ones?
Log output and email attachment follow...
level: 'error',
message: 'sendRawEmail() returned error.',
error: InvalidParameterValue: Unsupported encoding cp-850.
at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/protocol/query.js:50:29)
at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:683:14)
at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9)
at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:685:12)
at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:116:18) {
code: 'InvalidParameterValue',
time: 2020-07-31T02:38:44.598Z,
requestId: '87c94709-5010-4232-b4ed-32e088eea0ed',
statusCode: 400,
retryable: false,
retryDelay: 13.465131232141236
},
stack: 'InvalidParameterValue: Unsupported encoding cp-850.\n' +
' at Request.extractError (/var/runtime/node_modules/aws-sdk/lib/protocol/query.js:50:29)\n' +
' at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20)\n' +
' at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:78:10)\n' +
' at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:683:14)\n' +
' at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)\n' +
' at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)\n' +
' at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10\n' +
' at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9)\n' +
' at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:685:12)\n' +
' at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:116:18)'
}
INFO {
level: 'error',
message: 'Step returned error: Error: Email sending failed.',
error: Error: Error: Email sending failed.
at Response.<anonymous> (/var/task/index.js:306:23)
at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:364:18)
at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:683:14)
at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)
at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)
at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10
at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9)
at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:685:12),
stack: 'Error: Error: Email sending failed.\n' +
' at Response.<anonymous> (/var/task/index.js:306:23)\n' +
' at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:364:18)\n' +
' at Request.callListeners (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:106:20)\n' +
' at Request.emit (/var/runtime/node_modules/aws-sdk/lib/sequential_executor.js:78:10)\n' +
' at Request.emit (/var/runtime/node_modules/aws-sdk/lib/request.js:683:14)\n' +
' at Request.transition (/var/runtime/node_modules/aws-sdk/lib/request.js:22:10)\n' +
' at AcceptorStateMachine.runTo (/var/runtime/node_modules/aws-sdk/lib/state_machine.js:14:12)\n' +
' at /var/runtime/node_modules/aws-sdk/lib/state_machine.js:26:10\n' +
' at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:38:9)\n' +
' at Request.<anonymous> (/var/runtime/node_modules/aws-sdk/lib/request.js:685:12)'
}
ERROR Invoke Error
{
"errorType": "Error",
"errorMessage": "Error: Step returned error.",
"stack": [
"Error: Error: Step returned error.",
" at /var/task/index.js:362:28",
" at processTicksAndRejections (internal/process/task_queues.js:97:5)"
]
}
The script threw a few errors last night; couldn't see anything in the issue log so wanted to flag it. They appear to be spam emails anyway so I'm not too concerned but wondered if it could be an issue for legitimate ones?
Log output and email attachment follow...
7j9h8fqfic49mp9kfj62s1582jqrl5v55o39da01.txt