Skip to content
This repository has been archived by the owner on Apr 21, 2021. It is now read-only.

An internal error occured in the skill #51

Open
matteodarecchio opened this issue May 14, 2019 · 0 comments
Open

An internal error occured in the skill #51

matteodarecchio opened this issue May 14, 2019 · 0 comments

Comments

@matteodarecchio
Copy link

Hi, I am using the last release of django-alexa with django 2.1 and python 3.6 on my website hosted in pythonanywhere.
I have one alexa skill configured on Amazon Developer.
I follow instructions (I copied alexa.py from the example) but I don't understand what I have to write here:
ALEXA_APP_ID_DEFAULT
ALEXA_APP_ID_OTHER

If I try to launch the skill from the test section of my Amazon Developer account I get this reply:
JSON INPUT
{
"version": "1.0",
"session": {
"new": true,
"sessionId": "amzn1.echo-api.session.116d4692-d656-4135-8a6f-bea58ea963cf",
"application": {
"applicationId": "amzn1.ask.skill.477cdfd8-45f7-4b37-9b77-79564292db9a"
},
"user": {
"userId": "amzn1.ask.account.AGUOFJAS4LQDGOU3KCZATBBAFCC4GAI6VESJNA57GO7ASKODLUZQ75BCUXRV53HXGPMV7T3TG6OB5DSGNHSLSOS633GGF75J44FKKUXMZXQDGIJOWISX65YKVKIVT2RJ5QEBS33TTU2J645MG5P5RGU7QW4E5Y3HTVQMDNV5TF3GQV6UMY2ER25ZWSO5SEPKWY3MJN75HL43QFI"
}
},
"context": {
"AudioPlayer": {
"playerActivity": "IDLE"
},
"System": {
"application": {
"applicationId": "amzn1.ask.skill.477cdfd8-45f7-4b37-9b77-79564292db9a"
},
"user": {
"userId": "amzn1.ask.account.AGUOFJAS4LQDGOU3KCZATBBAFCC4GAI6VESJNA57GO7ASKODLUZQ75BCUXRV53HXGPMV7T3TG6OB5DSGNHSLSOS633GGF75J44FKKUXMZXQDGIJOWISX65YKVKIVT2RJ5QEBS33TTU2J645MG5P5RGU7QW4E5Y3HTVQMDNV5TF3GQV6UMY2ER25ZWSO5SEPKWY3MJN75HL43QFI"
},
"device": {
"deviceId": "amzn1.ask.device.AFT3W5F2YZC4T5X2S4HMNMDTGJ5R5KLTPX5XTWD5MZOI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1U3UVc0RTVZM0hUVlFNRE5WNVRGM0dRVjZVTVkyRVIyNVpXU081U0VQS1dZM01KTjc1SEw0M1FGSSJ9fQ.DS4zeCeH86IvUb2KAoMFIMjpfgYIUk4W-93U3kR1xKQeb_j_TLmdiYioYrMRPIlm6XVFgUAlPdogDjTgb79GYOwg0oQriphkBKkL2lRcznWalXfHGR0TGAfCQpCH-mamla5RVU92v76XtsKyRmiC8-HLePvmsIxkkOCbuM8_77PYrW3-kBi8NpmyFobNMJgYgb0304CEf4CKpMQgg-zPvqVha6xHVE7MOpLZMqu05i1sgRhvgE8kt4Lg2reZ0PBM6H124sZ9rb7OR1U-cn8bN6REiR9Pdbm8fivx2mdj2WYM8vfLhOwCLpiSdPFz0wHW4IeKjXe1AfzD5cxaico48g"
}
},
"request": {
"type": "LaunchRequest",
"requestId": "amzn1.echo-api.request.fc30c353-0de5-47a5-a441-e14b0e79d571",
"timestamp": "2019-05-14T07:44:17Z",
"locale": "it-IT",
"shouldLinkResultBeReturned": false
}
}

JSON OUTPUT
{
"body": {
"version": "1.0",
"response": {
"outputSpeech": {
"type": "PlainText",
"text": "An internal error occured in the skill."
},
"shouldEndSession": true,
"type": "_DEFAULT_RESPONSE"
},
"sessionAttributes": {}
}
}

I configured the End Point section in my skill in Amazon Developer as https://www.mydomain/alexa/ask

Any help?
Thanks

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant