alexa_media_player: Failed to set up / Server got itself in trouble

IMPORTANT: Please search the issues, including closed issues, and the FAQ before opening a new issue. The template is mandatory; failure to use it will result in issue closure.

Describe the bug

A few days ago, the integration said I had to reconfigure. I relogged in and answered the captcha, and it sent me to a proxy url where the message was:

Image

I recall doing this multiple times with the same result. Eventually, it stopped asking me to reconfigure. However, since then, the integration has “Failed to set up”. Reloading, disabling and re-enabling the integration and restarting HA doesn’t seem to help.

To Reproduce

No idea…

Expected behavior

Work.

Screenshots

Image

Image

System details

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

Debug Logs (alexa_media & alexapy) Please provide logs.

home-assistant_alexa_media_2025-04-02T15-39-46.728Z.log

Additional context

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 1
  • Comments: 19

Most upvoted comments

I’m also having this issue; I have the 2SV set up; it was working fine before, but I changed my Amazon email, so I had to reinstall AMP. Now, I’m unable to reinstall it d/t this error.

Still get the 500 internal server error.

Amazon Website opens and asks to create a new user -> logged in as existing user -> then get “There was a problem” “Enter a valid e-mail or mobile number” Even though the credentials are correct.

Continue… Next get passed to the captcha - then to 500 Internal Server Error