dmhacker/alexa-youtube-skill

NO_RESULTS_FOUND reply for all GetVideo Intents - also Herokuapp does not find anything

Opened this issue · 2 comments

I followed the set up process (version 3.0.5) but with the following request I only got NO_RESULTS_FOUND (did not return any results on YouTube).
Alexa recognize "lola" correctly but did not found anything. Also for "prince" and all others it's the same:

{
	"version": "1.0",
	"session": {
		"new": true,
		"sessionId": "amzn1.echo-api.session.21560574-ef31-4840-a39d-35f4db45aa33",
		"application": {
			"applicationId": "amzn1.ask.skill.xxxx"
		},
		"user": {
			"userId": "xxx"
		}
	},
	"context": {
		"AudioPlayer": {
			"playerActivity": "IDLE"
		},
		"System": {
			"application": {
				"applicationId": "amzn1.ask.skill.xxxx"
			},
			"user": {
				"userId": "amzn1.ask.account.xxxxx"
			},
			"device": {
				"deviceId": "amzn1.ask.device.xxxx",
				"supportedInterfaces": {
					"AudioPlayer": {}
				}
			},
			"apiEndpoint": "https://api.eu.amazonalexa.com",
			"apiAccessToken": "xxx"
		},
		"Viewport": {
			"experiences": [
				{
					"arcMinuteWidth": 246,
					"arcMinuteHeight": 144,
					"canRotate": false,
					"canResize": false
				}
			],
			"shape": "RECTANGLE",
			"pixelWidth": 1024,
			"pixelHeight": 600,
			"dpi": 160,
			"currentPixelWidth": 1024,
			"currentPixelHeight": 600,
			"touch": [
				"SINGLE"
			],
			"video": {
				"codecs": [
					"H_264_42",
					"H_264_41"
				]
			}
		},
		"Viewports": [
			{
				"type": "APL",
				"id": "main",
				"shape": "RECTANGLE",
				"dpi": 160,
				"presentationType": "STANDARD",
				"canRotate": false,
				"configuration": {
					"current": {
						"video": {
							"codecs": [
								"H_264_42",
								"H_264_41"
							]
						},
						"size": {
							"type": "DISCRETE",
							"pixelWidth": 1024,
							"pixelHeight": 600
						}
					}
				}
			}
		]
	},
	"request": {
		"type": "IntentRequest",
		"requestId": "amzn1.echo-api.request.991e4ab9-c214-44a7-80bf-742602a64c85",
		"locale": "de-DE",
		"timestamp": "2020-07-08T09:33:21Z",
		"intent": {
			"name": "GetVideoGermanIntent",
			"confirmationStatus": "NONE",
			"slots": {
				"VideoQuery": {
					"name": "VideoQuery",
					"value": "lola",
					"resolutions": {
						"resolutionsPerAuthority": [
							{
								"authority": "amzn1.er-authority.echo-sdk.amzn1.ask.skill.e92be6a5-cde0-40ee-82bd-3d63e090de93.VIDEOS",
								"status": {
									"code": "ER_SUCCESS_MATCH"
								},
								"values": [
									{
										"value": {
											"name": "lola",
											"id": "fceeb9b9d469401fe558062c4bd25954"
										}
									}
								]
							}
						]
					},
					"confirmationStatus": "NONE",
					"source": "USER"
				}
			}
		}
	}
}

Response:


{
	"body": {
		"version": "1.0",
		"response": {
			"outputSpeech": {
				"type": "SSML",
				"ssml": "<speak>Keine Ergebnisse auf Youtube gefunden.</speak>"
			},
			"directives": [],
			"shouldEndSession": true,
			"type": "_DEFAULT_RESPONSE"
		},
		"sessionAttributes": {}
	}
}

Also cloud watch logs just tell me: ...entered search query 'lola'.

I just came across the link for https://dmhacker-youtube.herokuapp.com.
Also here I can not find "lola", "prince", "madonna" or whatever. Are my searches that weird or is there an issue in the herokuapp?

GET https://dmhacker-youtube.herokuapp.com/search/lola leads to
{"state":"error","message":"No results found"}

Root cause is here: dmhacker/dmhacker-youtube#18