I had a power outage this morning and although the Home Assistant VM did not crash (I have it on UPS and powered the server down), since restarting the HA VM I am now getting this error and all Echo devices are unavailable:
Logger: alexapy.helpers
Source: runner.py:154
First occurred: 10:19:42 (2 occurrences)
Last logged: 10:19:42
alexaapi.get_guard_details((<alexapy.alexalogin.AlexaLogin object at 0x7f3f342c5010>,), {}): An error occurred accessing AlexaAPI: An exception of type TypeError occurred. Arguments: ("'NoneType' object is not subscriptable",)
alexaapi.get_network_details((<alexapy.alexalogin.AlexaLogin object at 0x7f3f342c5010>,), {}): An error occurred accessing AlexaAPI: An exception of type TypeError occurred. Arguments: ("'NoneType' object is not subscriptable",)
It is not offering me to re-authenticate and I am at a loss as what to do.
Version Details:
Alexa Media Player is 5.7.2
Installation method: Home Assistant OS
Core: 2025.7.1
Supervisor: 2025.06.2
Operating: System 15.2
Frontend: 20250702.1
I have restored a previous HA backup and problem persists which makes me think this is probably an Amazon Alexa side change/authentication issue.
P6Dave
(Dave Forrester)
July 5, 2025, 12:10pm
64
There appears to be an issue with this. Check the Known Issues on the integration page " No Alexa devices or entities appear after successful login (2FA OK, no errors) #2934 "
4 Likes
Dominicd
(HA-Dominicd)
July 5, 2025, 1:34pm
65
same problem here ! even downgrading to 2025.7.0, problem persists
finity
July 5, 2025, 3:47pm
66
Same here. restarted a few times and AMP entities are unavailable.
watching to see if there’s any resolution.
It seems that Amazon is performing maintenance on the servers. This error is also appearing on Alexa devices and Alexa Media Player
https://api.amazonalexa.com/
opened 02:30AM - 05 Jul 25 UTC
integration: alexa_devices
### The problem
New error with HA last update 2025.7.1
It was working well sinc… e 2025.7.0
### What version of Home Assistant Core has the issue?
core-2025.7.1
### What was the last working version of Home Assistant Core?
core-2025.7.0
### What type of installation are you running?
Home Assistant OS
### Integration causing the issue
Alexa Devices
### Link to integration documentation on our website
https://www.home-assistant.io/integrations/alexa_devices
### Diagnostics information
```
2025-07-05 03:12:35.068 DEBUG (MainThread) [aioamazondevices] GET request: https://alexa.amazon.com/api/bluetooth with payload None [json=False]
2025-07-05 03:12:35.068 DEBUG (MainThread) [aioamazondevices] Adding <{'csrf': '-951072826'}> to headers
2025-07-05 03:12:35.304 DEBUG (MainThread) [aioamazondevices] Cookies from headers: {}
2025-07-05 03:12:35.305 DEBUG (MainThread) [aioamazondevices] Response 200 for url https://alexa.amazon.com/api/bluetooth with content type: application/json
2025-07-05 03:12:35.306 DEBUG (MainThread) [aioamazondevices] Response URL: https://alexa.amazon.com/api/bluetooth
2025-07-05 03:12:35.306 DEBUG (MainThread) [aioamazondevices] Response code: |200|
2025-07-05 03:12:35.306 DEBUG (MainThread) [aioamazondevices] JSON data: |{'bluetoothStates': [{'deviceSerialNumber':
REDACTED
,'deviceType': 'A2IVLV5VM2W81', 'friendlyName': None, 'gadgetPaired': False, 'online': False, 'pairedDeviceList': None, 'sconeBattery': None, 'sconePaired': False, 'softwareVersion': '35602678', 'streamingState': None}]}|
2025-07-05 03:12:35.307 DEBUG (MainThread) [aioamazondevices] GET request: https://alexa.amazon.com/api/phoenix with payload None [json=False]
2025-07-05 03:12:35.307 DEBUG (MainThread) [aioamazondevices] Changing User-Agent to Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36 Edg/138.0.0.0
2025-07-05 03:12:35.307 DEBUG (MainThread) [aioamazondevices] Adding <{'csrf': '-951072826'}> to headers
2025-07-05 03:12:35.472 DEBUG (MainThread) [aioamazondevices] Cookies from headers: {}
2025-07-05 03:12:35.472 DEBUG (MainThread) [aioamazondevices] Response 299 for url https://alexa.amazon.com/api/phoenix with content type: application/json
2025-07-05 03:12:35.472 ERROR (MainThread) [homeassistant.components.alexa_devices] Unexpected error fetching [email protected] data
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 382, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/alexa_devices/coordinator.py", line 54, in _async_update_data
return await self.api.get_devices_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 809, in get_devices_data
entity_ids_list = await self._get_devices_ids()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 580, in _get_devices_ids
_, raw_resp = await self._session_request(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
File "/usr/local/lib/python3.13/site-packages/aioamazondevices/api.py", line 407, in _session_request
f"Request failed: {HTTPStatus(resp.status).phrase}"
~~~~~~~~~~^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/enum.py", line 726, in __call__
return cls.__new__(cls, value)
~~~~~~~~~~~^^^^^^^^^^^^
File "/usr/local/lib/python3.13/enum.py", line 1201, in __new__
raise ve_exc
ValueError: 299 is not a valid HTTPStatus
2025-07-05 03:12:35.481 DEBUG (MainThread) [homeassistant.components.alexa_devices] Finished fetching [email protected] data in 1.521 seconds (success: False)
```
### Example YAML snippet
```yaml
```
### Anything in the logs that might be useful for us?
```txt
```
### Additional information

so if you still had a working AMP or AD dont you dare restart you home assistant or integration or you will be unable get a token
I can confirm that Alexa Media Player 5.7.3 update fixes this issue. Thanks!