Alexa.SmartVision.SnapshotProvider directive to your smart home add-on and you can’t handle it successfully, respond with an Alexa.SmartVision.SnapshotProvider.ErrorResponse event. For details, see Alexa.SmartVision.SnapshotProvider.
ErrorResponse event
In the payload for theAlexa.SmartVision.SnapshotProvider.ErrorResponse, specify the type of the error and include a message with information about the error. For the list of Alexa.SmartVision.SnapshotProvider error types, see Error type values. You can send the error response in a synchronous or asynchronous response. If you respond asynchronously, include a correlation token and a scope with an authorization token. For more details about error reporting, 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.SmartVision.SnapshotProvider error types.
| Property | Description |
|---|---|
SUBSCRIPTION_REQUIRED | Endpoint can’t provide a snapshot because a subscription is required. |
DISABLED_BY_USER | Endpoint can’t provide a snapshot because the customer disabled the snapshot feature in the camera app. |
Alexa.SmartVision.SnapshotProvider.ErrorResponse error types, you can also respond with a generic Alexa.ErrorResponse event if your error isn’t specific to the snapshot capability.
Alexa.SmartVision.SnapshotProvider.ErrorResponse example
The following examples show the payload for an example error type.SUBSCRIPTION_REQUIRED
The following is an example error response for theSUBSCRIPTION_REQUIRED error type.

