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.DataController directive to your smart home add-on and you can’t handle it successfully, respond with an Alexa.DataController.ErrorResponse event. For details, see Alexa.DataController.

ErrorResponse event

In the payload for the Alexa.DataController.ErrorResponse, specify the type of the error and include a message with information about the error. For the list of Alexa.DataController 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 payload properties

PropertyDescriptionTypeRequired
typeType of error. Alexa shares this with the customer.StringYes
messageDescriptive message for the error. Alexa doesn’t share this with the customer.StringYes

ErrorResponse event format

Error type values

The following table shows the valid Alexa.DataController error types.
PropertyDescription
DATA_DELETION_NOT_SUPPORTEDThe device doesn’t support data deletion.
DATA_RETRIEVAL_NOT_SUPPORTEDThe device doesn’t support data retrieval.
In addition to the Alexa.DataController.ErrorResponse error types, you can also use Alexa error types, such as INVALID_VALUE. For details, see Alexa.ErrorResponse error type values.

Alexa.DataController.ErrorResponse examples

The following examples show the payload for different error types.

DATA_DELETION_NOT_SUPPORTED

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

DATA_RETRIEVAL_NOT_SUPPORTED

The following is an example error response for the DATA_RETRIEVAL_NOT_SUPPORTED error type.
Last modified on November 22, 2023