Alexa Media Player Integration

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.

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

same problem here ! even downgrading to 2025.7.0, problem persists

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/

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!

Hi everyone. I’ve been trying to use this to show an image to my echo show but this just does not work (the message part works but not the image) - does anyone know how to make this work? Thanks:

action: notify.alexa_media
data:
  message: Hi
  title: Hello
  data:
    image: "https://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Cat_August_2010-4.jpg/1920px-Cat_August_2010-4.jpg"
  target: media_player.show_10k

guys is TTS broken in AMP? It was working fine for a long while but a few weeks ago it stopped working for me. I wrote up a project that leverages it, and while the volume controls and such work fine, the TTS does not work at all.

Any fix?

Have you tried updating to the latest version of AMP? It was broken in the last couple of weeks due to a change on the Amazon end but the latest version (I think it’s 5.7.13) has been working for me for a few days now.

I’m running Version 5.7.13 at the moment. When I upgraded HA core to 2025.11.3 it immediately broke AMP. Anyone else see this? Any ideas on repair? Thanks…

All my devices showed ‘unavailable’ so after a few re-auth attempts I just tried removing and re-adding the Amazon account… AMP is dead it looks like since no devices are being pulled in now.
log shows…

Error fetching alexa_media data: Error communicating with API: object of type 'NoneType' has no len()

Same with me.

I keep getting this when copying the authentication key from my Google Authenticator:

Invalid Authenticator App key for Amazon 2SV

…sigh… that’s unfortunate…again…:disappointed:

Hey All,

EDIT: After visiting Github I see an issue because of HA 2025.11.3. I think this will also be the issue for me with 2025.11.4:

Original post:

Alexa Media Player: Version 5.7.13
Installation methodHome Assistant OS
Core2025.11.3
Supervisor2025.11.4
Operating System16.3
Frontend20251105.1

Also my integration stopped working. Then did those steps

  1. remove the integration
  2. restart HA
  3. add the integration again
  4. add credentials and created a 2SV
  5. used the code to verify the new app
  6. marked: Yes, OTP code was verified
  7. got a new window to login into my amazon account.
  8. back to HA: Created configuration for amazon_us@ - amazon.com

Only see the integration part where you can change the settings.
No echo is shown (Echo Livingroon, Echo Bedroom)

Do I still something wrong?

Error logs:

Logger: homeassistant.config_entries
Source: config_entries.py:975
First occurred: 09:52:55 (5 occurrences)
Last logged: 09:52:55

Error unloading entry amazon_us@<MY DOMAIN> - amazon.com for media_player
Error unloading entry amazon_us@<MY DOMAIN> - amazon.com for switch
Error unloading entry amazon_us@<MY DOMAIN> - amazon.com for sensor
Error unloading entry amazon_us@<MY DOMAIN> - amazon.com for light
Error unloading entry amazon_us@<MY DOMAIN> - amazon.com for binary_sensor
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 975, in async_unload
    result = await component.async_unload_entry(hass, self)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/components/media_player/__init__.py", line 487, in async_unload_entry
    return await hass.data[DATA_COMPONENT].async_unload_entry(entry)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 228, in async_unload_entry
    raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
Logger: custom_components.alexa_media
Source: helpers/update_coordinator.py:435
integration: Alexa Media Player ([documentation](https://github.com/alandtse/alexa_media_player/wiki), [issues](https://github.com/alandtse/alexa_media_player/issues))
First occurred: 09:53:02 (1 occurrence)
Last logged: 09:53:02

Error fetching alexa_media data: Error communicating with API: object of type 'NoneType' has no len()

The update I received tonight corrected the problem. Thanks folks, much appreciated…

1 Like