aws lambda invoke --function-name account-service-dev-createAccount --payload file://create-account.json --cli-binary-format raw-in-base64-out response.txt
{
“StatusCode”: 200,
“FunctionError”: “Unhandled”,
“ExecutedVersion”: “$LATEST”
}
lakshmiprasad@USMACPRO83 account-service % cat output.txt
{“errorMessage”:“UnrecognizedClientException: The security token included in the request is invalid.\n\tstatus code: 400, request id: EK1I6NKVOEIOVQ9CTOEUSHM4DBVV4KQNSO5AEMVJF66Q9ASUAAJG”,“errorType”:“requestError”
Hi @prasad,
It appears that you are calling AWS instead of LocalStack.
You can see our documentation on how to set it up if you want to use it.
1 Like