question

warhost avatar image
warhost asked

ASK CLI simulator not waiting properly

When testing skills using the ask cli, I noticed that it after a second shows id, status ("IN_PROGRESS") and result (null), however the skill's function is still busy in the background and did not finish yet.

How can I use the simulator in such a way that it also shows me the results once the skill actually built the result?

alexa skills kitskillask 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

Jenn@amazon avatar image
Jenn@amazon answered

I think you're using the 'simulate-skill' CLI command.

To get the results, use the 'get-simulation' command using the simulation id.

10 |5000

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