alexa_media_player: No Alexa devices or entities appear after successful login (2FA OK, no errors)

Describe the bug

After installing the Alexa Media Player integration via HACS and completing the login with 2FA, no Alexa devices or media_player entities appear in Home Assistant. The login is confirmed successful in the logs (Logged in as …), but no entities are created or listed.

To Reproduce

Install Alexa Media Player via HACS

Go to Settings → Devices & Services → Add Integration

Choose Alexa Media Player, enter valid Amazon credentials (region: amazon.de)

Complete 2FA (via Authenticator App)

Observe successful login in logs

No Alexa devices or entities are shown in Home Assistant

Expected behavior

After successful authentication, I expected my Echo devices (Echo Dot, Echo Show) to appear in HA as media_player entities and notify.alexa_media_* services.

Screenshots

Image

System details

  • Home Assistant version:
  • alexa_media version (from const.py or HA startup log):
  • alexapy version (from pip show alexapy in homeasssistant container or HA startup log):
  • Is Amazon 2SV via Authenticator App (not 2SV OTP via SMS) enabled? <!—We will not debug login issues if unanswered—> (y/n):
  • Amazon Domain:

System details

Home Assistant version: 2025.7.1

alexa_media version:

const.py.txt

alexapy version: Loaded alexapy==1.26.5

2FA (Authenticator App) enabled: Yes ✅

Amazon Domain: amazon.de

Debug Logs (alexa_media & alexapy)

✅ After login:

[custom_components.alexa_media] Logged in as alexa@example.de [custom_components.alexa_media] Setup complete

❌ Earlier (before reauth & cleanup):

[custom_components.alexa_media] Error fetching alexa_media data: Error communicating with API: ‘NoneType’ object is not subscriptable [alexapy.helpers] alexaapi.get_guard_details(…) … TypeError: ‘NoneType’ object is not subscriptable

📁 I have deleted all alexa_media.* files from .storage, re-added the integration, completed 2FA login again, and restarted Home Assistant.

📌 Login works now — but no devices appear in HA.

Additional context

Devices are visible in my Amazon account (Echo Dot, Echo Show)

No errors appear after setup

I have verified debug logging and checked for filtered/disabled entities – no Alexa-related ones are present

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Reactions: 3
  • Comments: 42 (6 by maintainers)

Commits related to this issue

Most upvoted comments

Duplication of #2932. Looks like an error/change on the Amazon side, as the core integration no longer works either.

2025.7.1 is also not working

2025.6.3 is also not working

have the same issue. indeed its looks like amazon rest api is down

https://api.eu.amazonalexa.com

Image

This was posted in another thread. Maybe.

Image

Same here https://api.amazonalexa.com/

Every couple of months there is an issue with Amazon integration. Im at the point where I feel I want to get rid of all my echos

it’s because you’re in Home Assistant version: 2025.7.1. It’s broken since this update.

Its not HA its the api to Amazon. there are several posts about it

ok then lets wait for a update

it’s because you’re in Home Assistant version: 2025.7.1. It’s broken since this update.

Well, that’s it, I finally have the final version and then I simply forgot to change Amazon.com to Amazon.fr § § §ps So, everything is good for me, it’s back on track

Thanks to your message I tried with Amazon.es (default amazon.com) and works perfectly. Thanks

OK mais tu la trouve où cette mise jour ?Envoyé depuis mon appareil Galaxy -------- Message d’origine --------De : Justin @.> Date : 06/07/2025 11:04 (GMT+01:00) À : alandtse/alexa_media_player @.> Cc : Didier45000 @.>, Comment @.> Objet : Re: [alandtse/alexa_media_player] No Alexa devices or entities appear after successful login (2FA OK, no errors) (Issue #2934) justinhow left a comment (alandtse/alexa_media_player#2934) Confirmed that Alexa Media Player 5.7.3 update fixes this issue. Thanks!

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

Une mise a jours de Alexa media player ?? -------- Message d’origine --------De : Crydteam @.> Date : 06/07/2025 10:22 (GMT+01:00) À : alandtse/alexa_media_player @.> Cc : Didier45000 @.>, Comment @.> Objet : Re: [alandtse/alexa_media_player] No Alexa devices or entities appear after successful login (2FA OK, no errors) (Issue #2934) cryd-s left a comment (alandtse/alexa_media_player#2934) perfect update fixed the problem for me

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

perfect update fixed the problem for me

Je ne pense pas que ça soit un problème de mise à jour de mon assistant puisque moi j’ai pas fait la mise à jour et j’ai exactement le même problème

A première vu rien a voir avec la version j y suis passer avant hier et ce matin encore ça fonctionné coupure vers 9h30 en France à première vu coupure du serveur pour maintenance il faut attendre …

Same problem, reported from 2025.7 and 2025.5 HA. Also I have tried a completed delete integration but at the end I always finish in the same point. Mi amazon email is @me.com too

I have recovery a backup from yesterday when working and don’t work either

Image

Is this only happening on the hacs integration or also on the built in HA integration

Both

Same here with AMP 5.7.2 and HA 2025.6.3. Has anyone tried a previous version of AMP?