-
Notifications
You must be signed in to change notification settings - Fork 181
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 JSON uploaded #144
Comments
Hi. Am stuck with the same issue. Thoughts please? |
I thought it might have been to do with the Skill not being setup as an Audio Player. But I have just successfully set up two new versions of the Skill (one with Audio Player checked and one without) from scratch, no problems at all. Copied and pasted the json and sample utterances as is, clicked save and the interaction model built successfully on both Skills, first time. Can you expand more on your problem? |
Sam
Sorry for the delay in replying. We have had guests who have just left this
weekend, and only got back to this.
To get this up and running, I had tweaked the json you provided to use
"name" in various places. Your code is now working. But to show what I was
getting I added in a new intent: "GeeMusicFingersDownIntent" just above the
ThumbsDown intent. When you try to save the code - you get the red box
popping up saying that the code didn't validate. That's what I was getting
with the code in your samples.
Couple of other points:
- Brilliant for getting the skill this far;
- Stumbled over the 'subscription' issue - struggling even to play any
of the 14,000 tracks i have uploaded to google play music
- It would be brilliant if this skill could play music on a SONOS.
Though, this might be a limitation of the API you are using (I couldn't
spot anything obvious in the API)
- eg with the native amazon music I can say "Alexa play x in the
kitchen" (where "in the kitchen" refers to my SONOS speaker)
Regards
David
[image: Inline images 1]
…On 31 December 2017 at 17:54, Sam Turner ***@***.***> wrote:
I thought it might have been to do with the Skill not being setup as an
Audio Player.
But I have just successfully set up two new versions of the Skill (one
with Audio Player checked and one without) from scratch, no problems at
all. Copied and pasted the json and sample utterances as is, clicked save
and the interaction model built successfully on both Skills, first time.
Can you expand more on your problem?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#144 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AJ5Toi2mMFSTvcGmYoPZR6DX2DcOjoD7ks5tF8pagaJpZM4P9BWY>
.
|
Enhancement request already noted partially in #204. |
Hi -
Amazon complains that the JSON file \speech_assets\intentSchema.json is invalid. I am using US English.
I noticed that schema from Amazon goes like
{
"name": "AMAZON.CancelIntent",
"samples": []
}
while the JSON file has (example):
{
"intent": "AMAZON.PauseIntent"
}
Unfortunately, simply changing intent to name did not fix validation and I also see "intent" in the JSON example from quick tutorial at https://developer.amazon.com/alexa-skills-kit/alexa-skill-quick-start-tutorial
Any ideas?
The text was updated successfully, but these errors were encountered: