4
votes

I am developing an alexa skill,and testing it on alexa simulator provided by amazon, which will bring some news based on keyword which user provide upon request.

I set a keyword say 'bbc news' as invocation.

everything was working fine for last 2 days, now today suddenly the alexa simulator is sending TWO requests by itself.

upon calling invocation 'bbc news' the simulator send LaunchRequest to my server and then within 1 second it sends 'SessionEndedRequest' to my server automatically. I don't know whats happening, I debug my php code but its working fine.

2
Can you post both the request and response of this?Guru
I have exactly the same problem now. Did you find a solution?chrisn
everyone who has had this issue and posted about it has had their thread die with no solution, never to be heard from again. any word?JamieT
same problem, did you resolve it?Carlos Ancona
I ran into a plethora of problems including Alexa speech stop in mid sentence and also sometimes this posted problem. It appeared to be caused by a faulty Echo unit.huggie

2 Answers

1
votes

I just had a similar issue and after a few hours of changing everything it still didn't work. On AWS Lambda all tests were being successfully ran. It will sound stupid but on the testing page (alexa simulator) where it says on the top Skill testing is enabled in:, you have two options: Development / Off.

Try toggling the Off state and then select Development again. I'm 100% sure it somehow resets the Alexa's simulator current state and made it work correctly again for me.

0
votes

Hi I am facing the same issue with ALexa Echo show. As soon as I invoke my skill from echo show it first sends the SessionEndedRequest with the reason: USER_INITIATED and then seconds later automatically sends another request with the invocation word and the right IntentRequest.

The first response :

{
  type: 'SessionEndedRequest',
  requestId: 'amzn1.echo-api.request.056129ac-6696-4928-98a7-b193cdf3301b',
  timestamp: '2020-10-20T04:21:12Z',
  locale: 'en-US',
  reason: 'USER_INITIATED'
}

And the IntentRequest request comes automatically right after this

{
  type: 'IntentRequest',
  requestId: 'amzn1.echo-api.request.4a731091-72c8-430d-91e9-e7db1a5c4d16',
  locale: 'en-US',
  timestamp: '2020-10-20T04:21:12Z',
  intent: {
    name: 'EveryThingIntent',
    confirmationStatus: 'NONE',
    slots: { EveryThingSlot: [Object] }
  }

this only happens form alexa echo show. From the developer Test dashboard and Alexa app on phone, I only get the IntentRequest