question

Junda avatar image
Junda asked

ask dialog error

When using the following command, I repeatedly faced errors when trying to interact with my skill.

ask dialog --locale en-US -p dev --debug

The error I faced was

User > Alexa open equity prices
[Error]: Request to skill endpoint resulted in an error.
User  > open equity prices
[Error]: An unexpected error occurred.
User  > equity prices
[Error]: Request to skill endpoint resulted in an error.

I couldn't make much sense out of the above error message, but wasn't able to make much out from the --debug output message as well.


This skill worked fine when I built my lambda function separately, but doesn't seem to work when I pick the Alexa's lambda-hosted version option from "ask new". Hope to get some help to understand what is going on.


When searching the forums, I came across this and this, hence I tried the above command with the "Alexa" word initially.


My skill-id is "ask-equityprices-dev-default-1593530037071", and currently still in the development stage.

ask cli
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

Amazon_Bernardo Bezerra avatar image
Amazon_Bernardo Bezerra answered

Hi @Junda and thanks for your message.

Can you please provide your skill ID so I can troubleshoot your issue further? Note that format for the skill ID is amzn1.ask.skill.<stringWithNumbersAndLetters> and not the one you provided in your original message.

Regards,
Barry

2 comments
10 |5000

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

Junda avatar image Junda commented ·

My skill id is amzn1.ask.skill.faa15288-e5a9-44a3-8807-e9a67a5a38fe

0 Likes 0 ·
Amazon_Bernardo Bezerra avatar image Amazon_Bernardo Bezerra Junda commented ·

Thanks for the information @Junda.

Can you please also share the debug message that you see after you execute the ask dialog command with the --debug flag?

Regards,
Barry

0 Likes 0 ·