Stack Overflow: A New Way for Developers to Get Support for Alexa

Now you can find Alexa-specific tags and topics in the AWS Collective on Stack Overflow. Ask questions and get help from badged experts and the Alexa developer community!

question

newuser-8f0b3a9d-509f-4d24-805d-0b73016a1406 avatar image

Same body error response, different Alexa responses?

I make an SetThermostatMode command but in my logic this is not possible, so I've created an error body response with the namespace: Alexa.ThermostatController.

I have this two examples for this command:

Alexa, set the thermostat to heat -> I'm not quite sure what went wrong - The wrong message.

Alexa, set the thermostat name to heat -> That command doesn't work on device - The correct message.

Why is my response body handled differently?

alexa smart homethermostat
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

apeksha avatar image
apeksha answered

Hi,

The message "I'm not quite sure what went wrong" is not the Error Response for the namespace Alexa.ThermostatController. Its a generic response when Alexa won't understand the command.

However, not all Error Response Types map to unique responses that are spoken by Alexa. If there are any Error Response Types that you'd like to return a unique error message to the user, please feel free to request this through our Alexa uservoice page

10 |5000

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