keatontaylor / alexa-actions

A README and associated code to get actionable notifications setup for Alexa devices.
GNU General Public License v3.0
391 stars 186 forks source link

[Bug]: Reflector Intent triggered #240

Closed marsal-75 closed 6 months ago

marsal-75 commented 6 months ago

Did you check our FAQ and Issue/PR for similar issues?

Contact Details

Removed

What happened?

Skill don't respond as expected: after the Alexa answer, whatever response is given nothing happen and alexa respond something like "you just trigger the low word intent"

Version

0.12.2

What Alexa device are you using?

Echo, Echo Show

What other Alexa device are you using?

Echo Spot

Relevant log output

2024-03-07T07:13:50.985+01:00   INIT_START Runtime Version: python:3.8.v43 Runtime Version ARN: arn:aws:lambda:eu-west-1::runtime:b20481443932830049531ab20faaf09295061aff7a67a0b0f40496e5e1ddec59
2024-03-07T07:13:51.437+01:00   START RequestId: dbfecf81-05a7-4985-887e-1e5bfec74655 Version: 5
2024-03-07T07:13:51.460+01:00   Locale is it
2024-03-07T07:13:51.708+01:00   [DEBUG] 2024-03-07T06:13:51.708Z dbfecf81-05a7-4985-887e-1e5bfec74655 Raw response: b'{"entity_id":"input_text.alexa_actionable_notification","state":"{\\"text\\": \\"Si o No?\\", \\"event\\": \\"hello_world\\", \\"suppress_confirmation\\": \\"False\\"}","attributes":{"editable":false,"min":0,"max":255,"pattern":null,"mode":"text","friendly_name":"Alexa Actionable Notification Holder"},"last_changed":"2024-03-07T05:48:10.858314+00:00","last_updated":"2024-03-07T05:48:10.858314+00:00","context":{"id":"01HRBQ8W6WTHE2Q1K85FWWRF2X","parent_id":"01HRBQ8W6PJ77K15D7J550D5NX","user_id":null}}'
2024-03-07T07:13:51.708+01:00   Raw response: b'{"entity_id":"input_text.alexa_actionable_notification","state":"{\\"text\\": \\"Si o No?\\", \\"event\\": \\"hello_world\\", \\"suppress_confirmation\\": \\"False\\"}","attributes":{"editable":false,"min":0,"max":255,"pattern":null,"mode":"text","friendly_name":"Alexa Actionable Notification Holder"},"last_changed":"2024-03-07T05:48:10.858314+00:00","last_updated":"2024-03-07T05:48:10.858314+00:00","context":{"id":"01HRBQ8W6WTHE2Q1K85FWWRF2X","parent_id":"01HRBQ8W6PJ77K15D7J550D5NX","user_id":null}}'
2024-03-07T07:13:51.708+01:00   [DEBUG] 2024-03-07T06:13:51.708Z dbfecf81-05a7-4985-887e-1e5bfec74655 Decoded response: {"text": "Si o No?", "event": "hello_world", "suppress_confirmation": "False"}
2024-03-07T07:13:51.708+01:00   Decoded response: {"text": "Si o No?", "event": "hello_world", "suppress_confirmation": "False"}
2024-03-07T07:13:51.709+01:00   event_id='hello_world' suppress_confirmation=False text='Si o No?'
2024-03-07T07:13:51.709+01:00   [DEBUG] 2024-03-07T06:13:51.709Z dbfecf81-05a7-4985-887e-1e5bfec74655 event_id='hello_world' suppress_confirmation=False text='Si o No?'
2024-03-07T07:13:51.710+01:00   END RequestId: dbfecf81-05a7-4985-887e-1e5bfec74655
2024-03-07T07:13:51.710+01:00   REPORT RequestId: dbfecf81-05a7-4985-887e-1e5bfec74655 Duration: 273.74 ms Billed Duration: 274 ms Memory Size: 512 MB Max Memory Used: 57 MB Init Duration: 451.01 ms
2024-03-07T07:13:54.516+01:00   START RequestId: 3d946e28-30ec-4b38-82fe-348fd73cdee7 Version: 5
2024-03-07T07:13:54.518+01:00   Locale is it
2024-03-07T07:13:54.518+01:00   Reflector Intent triggered
2024-03-07T07:13:54.520+01:00   END RequestId: 3d946e28-30ec-4b38-82fe-348fd73cdee7
2024-03-07T07:13:54.520+01:00   REPORT RequestId: 3d946e28-30ec-4b38-82fe-348fd73cdee7 Duration: 4.41 ms Billed Duration: 5 ms Memory Size: 512 MB Max Memory Used: 57 MB
Scialla commented 6 months ago

Same problem here

marsal-75 commented 6 months ago

I solved it by copying the content of the "skill-package/interactionModels/custom/it-IT.json" file in Build > CUSTOM > Interaction Model > JSON Editor in the developer console and recreating the skill.

Scialla commented 6 months ago

I solved it by copying the content of the "skill-package/interactionModels/custom/it-IT.json" file in Build > CUSTOM > Interaction Model > JSON Editor in the developer console and recreating the skill.

Thanks @marsal-75, solved me too :)