Comments (6)
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.
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.
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.
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.
Happy to.
from go-alexa.
Thank you and good catch! Merged in your Pull Request.
from go-alexa.
Related Issues (12)
- Web Builder Interface For Easy Creation of Skills? HOT 1
- Amazon Timestamp bug. json changed from string to int HOT 3
- Dialog Interface Reference
- Proposal: separate alexa request/response from http server HOT 27
- Device Id in Request
- AudioPlayer requests failing at application ID verification HOT 1
- In addition to a single Run(), have a way to expose subrouters for existing routers HOT 5
- Remove "Go isn't an option on Lamda" from /skillserver README HOT 1
- Init Went Away
- Please avoid parsing command line flags HOT 1
- Broken under Go 1.7 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-alexa.