dmhacker / alexa-youtube-skill

Allows Alexa to play audio from YouTube videos
MIT License
243 stars 109 forks source link

I couldn't find any linked video skills #36

Open rotaru01 opened 6 years ago

rotaru01 commented 6 years ago

Hey, Please help me with this error. I receive this error when i try to play youtube music. I followed exactly your steps and all was setup succesfully. Now when i am trying to play a melody it says: I couldn't find any linked video skills that can find that. Can you help me please? Thanks. Also what is the command to play a melody?

dmhacker commented 6 years ago

Did you enable your skill for testing?

sopeti commented 6 years ago

Hello dmhacker, great work with this ..

I have followed the steps and have also cross-checked 2-3 times for any mistakes on my side, but all is fine.I am getting the same error as stated above when running test from ASK Developer console:

"code": "SKILL_ENDPOINT_ERROR", "description": "An error occurred while issuing a SpeechletRequest for .." "type": "INVALID_RESPONSE", "message": "An exception occurred while dispatching the request to the skill."

                    "locale": "en-US",
                        "intent": {
                            "name": "GetVideoIntent",
                            "confirmationStatus": "NONE",
                            "slots": {
                                "VideoQuery": {
                                    "name": "VideoQuery",
                                    "value":  "songs",
                                    "resolutions": {
                                        "resolutionsPerAuthority": [
                                            {
                                                "authority": "amzn1.er-authority.echo-sdk.amzn1.ask.skill.25af997f-2fb9-45b3-bd81-30354fa15e1c.VIDEOS",
                                                "status": {
                                                    "code": "ER_SUCCESS_NO_MATCH"
                                                }
                                            }
                                        ]
                                    },
                                    "confirmationStatus": "NONE"

could the location of the api endpoint being in EU be a problem? "apiEndpoint": "https://api.eu.amazonalexa.com", my lambda function is deployed in Far-east ... dont think it should matter though..

Please help !

c-kobo commented 6 years ago

Hi, same issue here...I also followed the steps precisely as described and get the "couldn't find any linked video skills...' error. I have set up my API Endpoint to Ireland for German users.

Any help is appreciated!

dmhacker commented 6 years ago

@sopeti @c-kobo

There could be a variety of issues causing this. Have you guys made sure to use the correct ARN? Additionally, make sure that the ZIP file you've uploaded to the Lambda server isn't nesting anything. If you open it up, you should be greeted with a js/ folder and an index.js file.

sopeti commented 6 years ago

@dmhacker Thank you so much for paying attention. Yes, the ARN i have used is correct. Also, I have ensured that the folder structure on the Lambda server is same as your setup depicted in your guide at https://imgur.com/a/H5R7L

sopeti commented 6 years ago

@dmhacker , update: this is now working as expected, after adding the trigger "Amazon Skill Set" to the lambda ! thanks, again !!

dmhacker commented 6 years ago

@sopeti

Glad to hear that.

@c-kobo

How is it working out for you?

c-kobo commented 6 years ago

@dmhacker Still no success. Arn and folder structure looks good. @sopeti did you mean Alexa skill set? I couldn’t find any Amazon skill set. I will check with your guide step by step, maybe I missed out something.

dmhacker commented 6 years ago

@c-kobo

Did you try what @sopeti did?

sopeti commented 6 years ago

@c-kobo yes, I went to the AWS Lambda, and added "Amazon Skill Set" as a trigger.
You should see this option on top of the page, once you are on the Lambda page.

Also, don't forget to configure AWS Lambda to set ALEXA_APPLICATION_ID as given in @dmhacker's detailed guide.

Good luck!

c-kobo commented 6 years ago

Hi all, just returned from vacation and went through it again. It is working now, the issue was the way I was asking, I always tried with 'Play on youtube', which was failing. I got it now running by utterances like this: 'Ask youtube for '. Works great now, thanks dmhacker.

geek-coder commented 6 years ago

Followed all instructions from this. https://imgur.com/a/H5R7L

I get same error 'Could not find any linked videos'. +Have correct ARN. +Have added "Amazon Skill Set" as a trigger +No nesting in zip file. It shows same structure. +Using correct utterance 'Ask youtube for help' , 'Ask youtube to search for ..'. I am using from India, and have set region as N.Virginia.

From Alexa Simulator testing console. I see response as expected i.e. if I type "ask youtube to search for news". Its gets it, but on device this fails with above error.

My device alexa portal shows Youtube Playback dev skill.

Any suggestions ?

jbritz commented 5 years ago

I am still getting the same problem on the Echo dot. I am probably just missing something simple. @dmhacker, any help would be appreciated.

geek-coder commented 5 years ago

Use Google home... Instead of Alexa. :-) Amazon won't allow this as skill

On Sat, Nov 3, 2018, 8:04 PM Jacques Britz <notifications@github.com wrote:

I am still getting the same problem on the Echo dot. I am probably just missing something simple. Any help would be appreciated.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/dmhacker/alexa-youtube-skill/issues/36#issuecomment-435592520, or mute the thread https://github.com/notifications/unsubscribe-auth/ANKABySKL9Vt6pZUdMV1PmSXezC_54Nlks5uralsgaJpZM4TXG5V .