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

INVALID_REQUEST_TYPE #398

Open
splittix opened this issue Dec 16, 2019 · 3 comments
Open

INVALID_REQUEST_TYPE #398

splittix opened this issue Dec 16, 2019 · 3 comments
Labels

Comments

@splittix
Copy link

I just created a very simple alexa skill with this alexa-app npm module. And called my skill and I get the response "INVALID_REQUEST_TYPE". It's been a while since I've played with this module, but it looks like the values that Amazon is passing along to skills has changed in format. There hasn't been any code changes for about a year. Is this still supported? Is a new version recommended?

ex. request intent passed in from Amazon:

"request": {
		"type": "IntentRequest",
		"requestId": "amzn1.echo-api.request.ad7db8b4-d821-457d-bec0-95d26a3fc5a8",
		"timestamp": "2019-12-16T17:28:26Z",
		"locale": "en-US",
		"intent": {
			"name": "number",
			"confirmationStatus": "NONE",
			"slots": {
				"mynumber": {
					"name": "mynumber",
					"value": "3",
					"confirmationStatus": "NONE",
					"source": "USER"
				}
			}
		},
		"dialogState": "STARTED"
	}
@dblock
Copy link
Collaborator

dblock commented Dec 16, 2019

Haven't seen much activity here, step in! I'm still running a skill with this code successfully, though.

@dblock dblock added the bug? label Dec 16, 2019
@matt-kruse
Copy link
Collaborator

I still use alexa-app and it works perfectly for me. In fact, I just published a skill with it last week! [try it, enable Debbie Downer ;) ]
I found that the tooling and process around this module now makes it too difficult for me to maintain or contribute to. Instead, I am working on alexa-app-bootstrap, a "helper" module where I am putting my innovations.
While there have been changes and improvements to the Alexa requests over the last year or two, everything is backwards-compatible and alexa-app is flexible enough to support anything new, as far as I know. I'd like to know what code you have that generates this error.

@dblock
Copy link
Collaborator

dblock commented Dec 17, 2019

@splittix Care to turn this into a failing unit test?

@dblock dblock changed the title Still supported? INVALID_REQUEST_TYPE Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants