Code Monkey home page Code Monkey logo

amazon-alexa-quest-story-player-client's Introduction

amazon-alexa-quest-story-player-client's People

Contributors

dtsm12 avatar

Watchers

 avatar  avatar

amazon-alexa-quest-story-player-client's Issues

Unexpected intents should still return response

For example:

START RequestId: 8e5b4e5e-f092-11e8-8acb-8dfdc941076b Version: $LATEST

Warning: Application ID is not set
YesIntent
processYesNo, session mode: "HELP", intent:"AMAZON.YesIntent"
new game, id:undefined
ip-172-31-17-149.eu-west-1.compute.internal:8080/quests/undefined/game.json (GET):(undefined)

{"timestamp":1543137288010,"status":400,"error":"Bad Request","exception":"org.springframework.web.method.annotation.MethodArgumentTypeMismatchException","message":"Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "undefined"","
TypeError: Cannot read property 'text' of undefined at getStationText (/var/task/index.js:277:33) at IncomingMessage. (/var/task/index.js:241:21) at emitNone (events.js:72:20) at IncomingMessage.emit (events.js:166:7) at endReadableNT (_stream_readable.js:905:12) at nextTickCallbackWith2Args (node.js:4

END RequestId: 8e5b4e5e-f092-11e8-8acb-8dfdc941076b

Asking to play again after stopping throws an error

START RequestId: 2ddeb9e5-f093-11e8-88e9-2367c87ca083 Version: $LATEST

Warning: Application ID is not set

YesIntent

processYesNo, session mode: "RESTART", intent:"AMAZON.YesIntent"

new game, id:undefined

ip-172-31-17-149.eu-west-1.compute.internal:8080/quests/undefined/game.json (GET):(undefined)

{"timestamp":1543137555701,"status":400,"error":"Bad Request","exception":"org.springframework.web.method.annotation.MethodArgumentTypeMismatchException","message":"Failed to convert value of type 'java.lang.String' to required type 'java.lang.Long'; nested exception is java.lang.NumberFormatException: For input string: "undefined"","

TypeError: Cannot read property 'text' of undefined at getStationText (/var/task/index.js:277:33) at IncomingMessage. (/var/task/index.js:241:21) at emitNone (events.js:72:20) at IncomingMessage.emit (events.js:166:7) at endReadableNT (_stream_readable.js:905:12) at nextTickCallbackWith2Args (node.js:4

END RequestId: 2ddeb9e5-f093-11e8-88e9-2367c87ca083

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.