Questions tagged [flask-ask]

Flask-Ask is a Flask extension that makes building Alexa skills for the Amazon Echo easier and much more fun.

Flask-ask is a Flask middleware allowing to build Alexa skills much easier using the power and simplicity of Flask framework. Basic tutorial and documentation can be found on alexatutorial.com.

It can be installed through the Flask-Ask package on Pypi.

Some more basic documentation can be found on the github repo of the project.

57 questions
11
votes
10 answers

Zappa deployment error : GET request yields 502 response code

I am trying to deploy the first zappa example app built with Flask-Ask, It looks like everything works good but after the Deploying API statement I get the following error : Error: Warning! Status check on the deployed lambda failed. A GET request…
s_om
  • 443
  • 6
  • 17
8
votes
1 answer

flask-ask slot is always being mapped to None

My slot for a custom intent is always being recognised as None. I have an intents schema which looks like this: { "interactionModel": { "languageModel": { "invocationName": "name_of_app", "intents": [ …
Varun Balupuri
  • 333
  • 3
  • 15
4
votes
1 answer

Alexa Flask Ask Yes / No response handling

I am trying to create a simple Alexa skill using Flask Ask in python. I have an intent called "SearchIntent" with a "searchterm" slot and the python code looks something like this: @ask.intent("SearchIntent") def SearchIntent(searchterm): …
3
votes
1 answer

Alexa youtube skill in python flask-ask

I am using the flask-ask framework in Python to develop an Alexa-Skill which shall play just the audio-stream of an YouTube video without downloading it. Therefore I used pafy Following function gets the audio-url out of the YouTube video: def…
Oemer
  • 173
  • 9
3
votes
2 answers

Getting error datetime.date(2018, 6, 12) is not JSON serializable in Python

I am trying to use Flask-Ask and create an Alexa skill. I am getting issue while storing date and time into json Below is the error raise TypeError(repr(o) + " is not JSON serializable") TypeError: datetime.date(2018, 6, 12) is not JSON…
RaghuCK
  • 75
  • 1
  • 11
3
votes
2 answers

Alexa Skill: Get user location

I'm trying to get the device's location using the Amazon device address API. I referred to this answer for the code: Get location from Alexa Skills Kit (ASK) However, I get a AttributeError: 'NoneType' object has no attribute 'consentToken' when I…
RogerThat
  • 165
  • 1
  • 6
3
votes
1 answer

How can I implement relevant help during a multi-turn dialog? Amazon Alexa Python 3.6

I am trying to implement AMAZON.HelpIntent for my Alexa Skill. This is the intended behavior: User: Alexa, tell Volume Calculator to calculate the volume of a box. Alexa: What is the length of the box? User: Help Alexa: The length of a box is how…
2
votes
0 answers

Can't install flask-ask: error from cryptography module

The pip command to install flask-ask is simply: pip install flask-ask However, when I run this command, I get this error: Now, I have heard that you can simply downgrade your pip version to circumvent this error. However, when I do this, I get an…
2
votes
3 answers

Alexa flask-ask get the user personal information

I had setup Alexa skill to use Flask-Ask. Skill works fine as expected. Now I need to get the user personal information like name,phone,email,address.So I had used the below code @ask.intent('AskPermission') def get_permission(): …
Yogesh
  • 424
  • 3
  • 12
2
votes
0 answers

confusion about creating a conversational alexa skill using Flask-Ask and python: it goes to FallBackIntent when required slot missing

I want to create a conversational alexa skill using Flask-Ask and python 3. But when I intentionally omit the required slot. Alexa doesn't prompt me anything. It goes to FallBackIntent directly. I've set the prompt and corresponding answer for it in…
2
votes
1 answer

Alexa Skill using flask-ask: HTTP 500 : INTERNAL SERVER ERROR

I am just learning to write Alexa skills using Flask-Ask. Here is the code for flask_app.py: from flask import Flask, render_template from flask_ask import Ask, statement, question, session import random app = Flask(__name__) ask = Ask(app,…
Sayantan Das
  • 141
  • 11
1
vote
0 answers

Alexa Skills Kit "Skill execution returned an exception for requestId" error

I'm very new to the Alexa Skills Kit. And I`ve been trying to make a simple music player skill on a web hosted server in https://www.pythonanywhere.com. When I try to make a request a "SKILL_ENDPOINT_ERROR" is captured in the device log with the…
1
vote
3 answers

pip installing Flask-Ask raises ModuleNotFound pip.req

When I try to install Flask-Ask, I get the following error. How do I fix it? $ pip install flask-ask Collecting flask-ask Using cached Flask-Ask-0.9.8.tar.gz (40 kB) ERROR: Command errored out with exit status 1: command:…
1
vote
0 answers

Trying to download flask-ask using pip but have received some errors due to incompatibility? Is there an alternative for this issue?

I am trying to download flask-ask to use it with Alexa skills, but I keep getting errors. I tried downgrading pip and that solution did not work either, as this was proposed on another forum post. Complete output (5 lines): Traceback (most recent…
KingKe1
  • 11
  • 1
1
vote
1 answer

Flask-Ask: How to fix 'flask.debughelpers.FormDataRoutingRedirect' error?

I'm developing Alexa Skill with Flask-Ask. When I test my skill, error are thrown. I using nginx proxy for Flask-Ask. (Previously, it worked fine on another server.) Now, the another server has same problem. So I think there is another problem, not…
Nerahikada
  • 21
  • 7
1
2 3 4