question

Glenn Cameron avatar image
Glenn Cameron asked

Alexa Python Blueprint "The SpeechletResponse must not be null"

If you set up the "favorite color" python blueprint in Lamda and then run the following command, "Alexa, tell color that" or "Alexa, ask color that" you get the an error that says "There was a problem with the requested skills response." Does anyone know how to fix this? I have tried checking if intent['slots']['Color']['value'] is None: but it doesn't seem to work. Here are the directions on how to make the skill https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/developing-an-alexa-skill-as-a-lambda-function Any help would be appreciated! I have been stuck on this for a week.
alexa skills kitvoice-user interface
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Glenn Cameron avatar image
Glenn Cameron answered
I figured this out. I just needed to check if 'value' in intent['slots']['Color']: instead of the default logic. Message was edited by: Glenn Cameron
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.