Alexa Automated Testing Service Troubleshooting Guide
Having trouble creating or running test plans in the Alexa Automated Testing Service (ATS)? If you encounter errors, review the information in this guide for solutions to common issues.
Test plan issues
You might encounter errors when creating or running a test plan in the developer console. ATS displays errors in a red banner at the top of the page. You can dismiss the banner after you review the error and make corrections.
Issue: General errors
You encounter one or more errors when you try to create or run a test plan.
Symptoms
Errors appear in red banners at the top of the page.
Try this
Review the following table for possible causes and solutions. The error messages you see might be more specific than the ones listed here.
| Error message | What to do |
|---|---|
|
|
Review your selections for device and test plan. Make sure that you fill all required fields. |
|
|
Your session expired. Log out and log back in. |
|
|
Use the correct vendor account in the Alexa developer console. |
|
|
The test plan or report might have been deleted. Refresh the page and verify the resource exists. |
|
|
Retry the request. |
|
|
Refresh the page and retry. |
|
|
Wait about a minute before trying again. |
|
|
Wait several minutes and retry the request. |
|
|
Wait several minutes and retry the request. |
|
|
The service might be under maintenance. Try again later. |
|
|
Wait several minutes and retry the request. |
|
|
Check your internet connection, and then refresh the page and try again. |
|
|
Refresh the page and try again. |
|
|
Hard-refresh the page using the Cmd+Shift+R (Mac) or Ctrl+Shift+R (Windows) shortcut. |
|
|
Test plan preparation took too long. Try running the test again. |
|
|
ATS couldn't load the test plan. Check the test plan for errors and try running the test again. |
An error label precedes each error and defines the category of errors as shown in the following table.
| Error label | Description |
|---|---|
|
|
The test failed to run. |
|
|
Test plan preparation failed. |
|
|
The test plan didn't load. |
|
|
Your smart home device didn't load. |
|
|
Your Alexa device didn't load. |
|
|
The test history table failed to load. |
|
|
Live status updates failed. |
Test run errors
For each test run, review the test report details and associated error messages. For skill-related errors, review the Amazon Web Services (AWS) CloudWatch logs generated by your Lambda function. To verify that you can control your device outside of the test run, use voice commands with Alexa and verify your device works in your device app.
Issue: "ERROR": "Failed to switch to the specified endpoint"
The Echo device can't connect to the specified endpoint.
Symptoms
The setup test case fails with the error, Failed to switch to the specified endpoint.
Try this
To resolve the issue, try the following options:
- Register the Echo device under the same developer account as your smart home device.
- Make sure your Echo device is online and connected to the Wi-Fi network.
- Power off the Echo device, and then power it back on.
Issue: "ERROR": "Not able to retrieve Device state: The device is offline"
The device is offline or unreachable.
Symptoms
The test times out waiting for a response from your device and returns the error, The device is offline.
Try this
Review the following table for possible causes and solutions.
| Cause | Action |
|---|---|
|
Device is offline |
Check the power to the device. |
|
Network connectivity issues |
Check the router settings. |
|
Echo device issues |
Verify that the Echo has power and that mute is off.
Make sure the Echo is within range of your smart home device. |
|
Account linking expired |
Open the Alexa app, navigate to More > Alexa+ Store > Browse Alexa Skills & Games, and then re-link the accounts. |
|
Device not discovered |
Open the Alexa app, navigate to Devices > Discover Devices, and verify that the device appears in the list. |
Issue: TTS response validation failures
The Alexa response doesn't match the expected response.
Symptoms
TTS Response failed with validation errors, such as the following examples.
Error:
"Device woke": "False"
or
Error:
"Device woke": "True",
"Device responded": "ok",
"Intent": "TurnOffApplianceIntent",
"Device heard": "Alexa, turn off the Kitchen Light"
Try this
Review the following table for possible causes and solutions.
| Cause | Action |
|---|---|
|
Expected response is too specific |
Update the test case to use shorter phrases. |
|
Alexa returned an error message |
Check the actual response in the test report and address the underlying error. |
|
Device returned an error |
Check the AWS CloudWatch logs. For more details, see View the skill log entries. For devices that use a smart home skill, review your skill's error handling. |
|
Locale or language mismatch |
Verify that the Alexa device locale matches the locales supported by your skill. |
Issue: "ERROR": "Reported Device state not matching expected state"
The Device State Change (State Match) exact match validation failed.
Symptoms
The test fails with the error, Reported Device state not matching expected state or the device state is incorrect after the command.
Try this
Review the following table for possible causes and solutions.
| Cause | Action |
|---|---|
|
Device state didn't update |
Verify device state in the device app. |
|
State reporting not implemented |
Verify that the skill implements state reporting. |
|
Expected state value is incorrect |
Check actual state value in the test report. Verify associated reportable properties, such as hue, saturation, brightness (HSB) color values, and temperature scale. |
|
State property name is incorrect |
Verify correct property name and namespace for the capability in the test case. |
|
Device reports state differently |
Adjust the expected values in the test case. |
Issue: "ERROR": "Not able to retrieve Device state: Unable to retrieve state for this device."
The testing service can't retrieve the state for your device.
Symptoms
The test fails with the error, Not able to retrieve Device state: Unable to retrieve state for this device or the device state isn't returned.
Try this
Review the following table for possible causes and solutions.
| Cause | Action |
|---|---|
|
Network connectivity issues |
Check the router settings. |
|
State reporting not implemented |
Verify that the skill implements state reporting. |
|
State property name is incorrect |
Verify correct property name and namespace for the capability in the test case. |
Issue: "ERROR": "Test step timed out"
The device state didn't update in the allotted time.
Symptoms
The test fails with the error, Test step timed out or no response from the device or Alexa.
Try this
Review the following table for possible causes and solutions.
| Cause | Action |
|---|---|
|
Device is slow to respond |
Increase the wait time in the test case. For more details, see Wait time guidance. |
|
Network latency |
Test network speed. |
|
Skill processing is slow |
Review Lambda execution time in CloudWatch. Optimize your skill code. |
|
Device cloud is slow |
Monitor device cloud health. |
Issue: "ERROR": "Account linking failed"
Account linking between the Alexa app and your device cloud failed.
Symptoms
The test fails with the error, Account linking failed or you see Authorization failed or Invalid token errors.
Try this
Review the following table for possible causes and solutions.
| Cause | Action |
|---|---|
|
OAuth token expired |
Re-link the accounts in Alexa app. |
|
Account linking not configured |
Verify the account linking configuration for the smart home skill under test in the Alexa developer console. Test the account linking flow manually. |
|
Incorrect credentials |
Verify username and password are correct. Try to sign in to the device app with the same credentials. |
|
OAuth server issues |
Check OAuth server logs to verify the server endpoints are accessible. |
Issue: "ERROR": "Device not found"
The test couldn't find your smart home device.
Symptoms
The test fails with the error, Device not found or you don't see the device in the device list in the Alexa app.
Try this
Review the following table for possible causes and solutions.
| Cause | Action |
|---|---|
|
Device not discovered |
Run discovery in Alexa app and wait 20–30 seconds for discovery to complete. |
|
Device name mismatch |
Check the exact device name in Alexa app. Names are case-sensitive. |
|
Device deleted or disabled |
Verify the device is enabled in the Alexa app and run discovery, if needed. |
|
Skill disabled |
Re-enable the smart home skill in Alexa app; verify the skill is in development mode. |
Issue: "SKIPPED"
You see a SKIPPED status on one or more test steps.
Symptoms
The test fails on a previous step and causes the service to skip the step indicated.
Try this
ATS skips remaining steps in a test case after a previous step fails. Correct the error on the previous step, and then rerun the test.
Related topics
Last updated: May 01, 2026