Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON expected error #14

Open
justin8 opened this issue Jul 17, 2017 · 0 comments
Open

JSON expected error #14

justin8 opened this issue Jul 17, 2017 · 0 comments

Comments

@justin8
Copy link

justin8 commented Jul 17, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant