Code Monkey home page Code Monkey logo

Comments (6)

kumarde avatar kumarde commented on July 25, 2024 1

Closing this issue - the problem was the the jeopardy.go examples still relied on github.com/gorilla/context rather than the native GoLang context. Cheers!

from go-alexa.

rking788 avatar rking788 commented on July 25, 2024

How are you sending the request to your endpoint? Is it through the Alexa request simulator? If it isn’t properly formatted it may not be able to decide it into an EchoRequest if is is missing fields.

from go-alexa.

kumarde avatar kumarde commented on July 25, 2024

I'm sending the request to my endpoint via the Alexa request simulator. it looks like this:

{
  "session": {
    "sessionId": "SessionId.81394ce6-6fce-451e-a6b9-eefbb5c23c0c",
    "application": {
      "applicationId": "amzn1.ask.skill.810a5007-254d-489f-b2e3-f6c35d215bef"
    },
    "attributes": {},
    "user": {
      "userId": "amzn1.ask.account.AGTN5PAYVQYAYSK6AJQEU34WMCBGKK4NP25U3A6YJ6FRFPVMMZTLDYKNYKFOZG26V4RMXSJKO5BDHY4IHZ2KEN2D7DFDVCMCY73IHWR7WC34KHEVREN4WWEZZZLVL7TE6JOQOXYYEKXQWFDP5LBJWUYSISHTYJB7EWGTGEJCAB6D64D3EDHTQIX4IHUBW6HJSCPH6NTF7GQMKZA"
    },
    "new": true
  },
  "request": {
    "type": "IntentRequest",
    "requestId": "EdwRequestId.f5e570a3-c374-4d7c-b61b-f7758d772094",
    "locale": "en-US",
    "timestamp": "2017-07-18T15:02:28Z",
    "intent": {
      "name": "StartJeopardy",
      "slots": {}
    }
  },
  "version": "1.0"
}

from go-alexa.

rking788 avatar rking788 commented on July 25, 2024

Is that a change that should be merged in so others don't run into this issue? Glad you got it figured out.

from go-alexa.

kumarde avatar kumarde commented on July 25, 2024

Happy to.

from go-alexa.

mikeflynn avatar mikeflynn commented on July 25, 2024

Thank you and good catch! Merged in your Pull Request.

from go-alexa.

Related Issues (12)

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.