JSON expected error
justin8 opened this issue · 0 comments
justin8 commented
Hey,
I'm trying to set this up for the first time, and when testing the function either through the alexa developer console or directly in the lambda console using the test phrase in the wiki docs ("is The Dark Knight on the list") I receive the below response:
{
"version": "1.0",
"response": {
"outputSpeech": {
"type": "SSML",
"ssml": "<speak>An error occured: {\"error\":\"JSON expected\"}</speak>"
},
"speechletResponse": {
"outputSpeech": {
"ssml": "<speak>An error occured: {\"error\":\"JSON expected\"}</speak>"
},
"directives": [],
"shouldEndSession": true
}
},
"sessionAttributes": {}
}
The local.json
file is the only change I made (other than a small script to generate it using stored secrets for api keys that sits in the root). The local.json
file without keys can be seen here: https://github.com/justin8/alexa-libby/blob/master/local_template.json
jq
reports the local.json
file as valid json as well.