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 your smart home add-on proactively reports state to Alexa in Alexa.ChangeReport events, you can use the smart home debugger to test and debug your smart home add-on. By using the smart home debugger, you can view the Alexa.ChangeReport, Alexa.AddOrUpdateReport, and Alexa.DeleteReport events that Alexa receives from your add-on, including your JSON, and any processing errors. If you implement the Alexa.RTCSessionController interface in your Alexa add-on, also see Use the Smart Home Debugger for WebRTC Add-ons. For details about other test tools, see Test and Debug Your Smart Home Add-on.

Prerequisites

To use the smart home debugger, your smart home add-on must send Alexa.ChangeReport, Alexa.AddOrUpdateReport, or Alexa.DeleteReport events to Alexa. You identify the properties that you proactively report in your discovery response. For details about change reports, see Understand State and Change Reporting.

Accessing the smart home debugger

To access the smart home debugger, you use the Alexa developer console. To view the smart home debugger
  1. Sign in to the Alexa developer console.
  2. Open the smart home add-on associated with your smart home device.
  3. Open the Test page.
  4. Enable testing for the add-on.
  5. At the top of the page, select Device Log and Smart Home Debugger.
  6. In the Smart Home Debugger section of the page, use the toggle to enable Smart Home debugger.
After you complete the procedure, when you send an Alexa.ChangeReport, Alexa.AddOrUpdateReport, or Alexa.DeleteReport event to Alexa, you see the event information in the device log.

Viewing events

The smart home debugger shows the Alexa.ChangeReport, Alexa.AddOrUpdateReport, and Alexa.DeleteReport events that Alexa receives from your add-on, for the Amazon account that you used to sign in to the Alexa developer console. Each event in the device log contains a JSON document with details about the event that Alexa received. The following is an image of the smart home debugger.
Alexa simulator, device log and associated JSON in the smart home debugger.

Smart Home Debugger

If you encounter problems with the smart home debugger, contact Alexa developer support with the details.

ChangeReport event with success example

The following example shows the log in the smart home debugger for an Alexa.ChangeReport event that Alexa processes successfully.

ChangeReport event with error example

The following example shows the log in the smart home debugger for an Alexa.ChangeReport event that Alexa is unable to process successfully, because the request contains errors. For details, see understanding event errors.

Understanding event errors

When your add-on sends an Alexa.ChangeReport, Alexa.AddOrUpdateReport, or Alexa.DeleteReport event to the Alexa event gateway, you receive an HTTP response from the gateway. For the full list of possible HTTP response codes, see Send Events to the Alexa Event Gateway. When your add-on receives a 202 Accepted response from the gateway, it means that Alexa received your event request successfully. However, there might be errors in the event message that prevent Alexa from processing the event correctly. In that case, the debugger log contains a SmartHomeChangeReportFailure, SmartHomeAddOrUpdateReportFailure, or SmartHomeDeleteReportFailure event that contains an array of errors in the payload.

Change report errors

The following table lists the error codes that you might see in the smart home debugger for a SmartHomeChangeReportFailure.

AddOrUpdate report errors

The following table lists the error codes that you might see in the smart home debugger for a SmartHomeAddOrUpdateReportFailure.
Error CodeDescription
INVALID_REQUEST_EXCEPTIONThe request is invalid for one of the following reasons:
  • Unsupported event type.
  • The payload version is missing.
  • The payload version isn’t supported.
  • The endpoint ID is missing.
  • The friendly name is missing.
  • A parsing error occurred.

Delete report errors

The following table lists the error codes that you might see in the smart home debugger for a SmartHomeDeleteReportFailure.
Error CodeDescription
INVALID_REQUEST_EXCEPTIONThe request is invalid for one of the following reasons:
  • Unsupported event type.
  • The payload version is missing.
  • The payload version is unsupported.
  • A parsing error occurred.
Last modified on May 13, 2026