Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get started
Connect with Matter
Alexa Connect Kit
Add-ons
Certify
Resources
Skip to main content
If Alexa sends an Alexa.ThermostatController.Configuration directive to your smart home add-on and you can’t handle it successfully, respond with an Alexa.ThermostatController.Configuration.ErrorResponse event. For details, see Alexa.ThermostatController.Configuration.

ErrorResponse event

In the payload for the Alexa.ThermostatController.Configuration.ErrorResponse, specify the type of the error and include a message with information about the error. For the list of Alexa.ThermostatController.Configuration error types, see Error type values. You can send the error response in a synchronous or asynchronous response. For more details, see Alexa.ErrorResponse.

ErrorResponse event parameters

FieldDescriptionTypeRequired
typeThe type of error. Alexa shares this with the customer.StringYes
messageThe error message for the error. Alexa doesn’t share this with the customer.StringYes

ErrorResponse event example

Error type values

The following table shows the valid Alexa.ThermostatController.Configuration error types.
Error TypeDescription
CONFIGURATION_UPDATE_NOT_ALLOWEDConfiguration changes aren’t allowed by the thermostat device. To accept configuration changes, the customer must interact with the device directly.
MISSING_SETUP_INFORMATIONRequired information for setup is missing from the directive.
INVALID_TARGET_STATEThe target state isn’t support by the device.
INVALID_TEMPERATURE_SCALEThe temperature scale isn’t support by the device.
INVALID_TERMINAL_CONNECTIONOne or more terminal connections are invalid.
INVALID_SYSTEM_TYPEThe HVAC system type isn’t support by the device.
HEATING_STAGES_EXCEEDS_LIMITThe number of heating stages exceeds the limit. Include a [validRange](../device-apis/alexa-errorresponse.html#valid-range) object in the payload to indicate the acceptable range.
COOLING_STAGES_EXCEEDS_LIMITThe number of cooling stages exceeds the limit. Include a [validRange](../device-apis/alexa-errorresponse.html#valid-range) object in the payload to indicate the acceptable range.
INVALID_AUXILIARY_HEATING_SYSTEM_TYPEThe specified auxiliary heating system isn’t support by the device.
COOLING_LOCKOUT_TEMPERATURE_VALUE_OUT_OF_RANGEThe cooling lockout temperature is outside the accepted range. Include a [validRange](../device-apis/alexa-errorresponse.html#valid-range) object in the payload to indicate the acceptable range.
HEATING_LOCKOUT_TEMPERATURE_VALUE_OUT_OF_RANGEThe heating lockout temperature is outside the accepted range. Include a [validRange](../device-apis/alexa-errorresponse.html#valid-range) object in the payload to indicate the acceptable range.
In addition to the Alexa.ThermostatController.Configuration.ErrorResponse error types, you can also use Alexa error types, such as ALREADY_IN_OPERATION. For details, see Alexa.ErrorResponse error type values.

Alexa.ThermostatController.Configuration.ErrorResponse examples

The following examples show the payload for different error types.

INVALID_TERMINAL_CONNECTION

The following is an example error response for the INVALID_TERMINAL_CONNECTION error type.

CONFIGURATION_UPDATE_NOT_ALLOWED

The following is an example error response for the CONFIGURATION_UPDATE_NOT_ALLOWED error type.

COOLING_LOCKOUT_TEMPERATURE_VALUE_OUT_OF_RANGE

The following is an example error response for the COOLING_LOCKOUT_TEMPERATURE_VALUE_OUT_OF_RANGE error type. Include a validRange object in the payload to specify the minimum and maximum acceptable temperatures. The minimum and maximum values contain Temperature objects.
Last modified on November 22, 2023