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 theAlexa.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
| Property | Description | Type | Required |
|---|---|---|---|
type | Type of error. Alexa shares this with the customer. | String | Yes |
message | Descriptive message for the error. Alexa doesn’t share this with the customer. | String | Yes |
ErrorResponse event format
Error type values
The following table shows the validAlexa.DataController error types.
| Property | Description |
|---|---|
DATA_DELETION_NOT_SUPPORTED | The device doesn’t support data deletion. |
DATA_RETRIEVAL_NOT_SUPPORTED | The device doesn’t support data retrieval. |
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 theDATA_DELETION_NOT_SUPPORTED error type.
DATA_RETRIEVAL_NOT_SUPPORTED
The following is an example error response for theDATA_RETRIEVAL_NOT_SUPPORTED error type.

