#Alexa Devices Unknown error occurred

1 messages · Page 1 of 1 (latest)

neat garden
#

Hi folks. I am trying to set up Alexa devices. I have 2FA set up using Google Authenticator, and it works (using a code from Authenticator) when I log into the Amazon website, so I know I have that part correctly set up. However, when I try to set up the devices, I get a message that "! Unknown error occurred". Here is a hastebin from log viewer:

https://hastebin.com/share/mofobexixi.java

Any ideas on what may be wrong? I read the log messages, but no idea why it is going sideways. Any help would be appreciated.

final timber
toxic lava
#

@mellow olive did you get to the source of this error? Mine's been throwing this error this week too, I was trying to avoid opening and duplicate ticket somebody has already come up with a solution

mellow olive
#

Let’s debug it on your specific env

toxic lava
#

What info do you need?

toxic lava
#

@mellow olive would it potentially have correlation with the fact that I'm running through docker instead of on HAOS? I'm going to be switching once I acquire a new ssd

mellow olive
#

nope it doesn't I develop with dev container and run HA on container as well

#

to troubleshot:

#

let's open a ssh prompt on a linux system

#

double check you have python >= 3.12 installed

#

and test

#

(info just below installation)

#

that way we can easily change library version with a different version if needed

tame bison
#

Can I jump in here too? I think I have the same issue as the OP.

mellow olive
#

Tell me more about your issue

final timber
#

I'm also having issues. After adding the Amazon (Alexa) integration, my Alexa devices all appear as "Unavailable" and do not respond to my notify.send_message actions. I've enabled debug logging for the Amazon integration, but no errors or warnings appear in the logs.

mellow olive
#

Check the reply from Amazon, I'n quite surer you have a "online: false" there

final timber
mellow olive
#

Then please share a full debug log with me, if you prefer in DM

sleek trench
#

Hi @mellow olive, i updated HA 2025.7.1 and problem persist. Brazil - pt-br

green atlas
#

@mellow olive was working with 2025.7.0 then broke with 2025.7.1. Getting 299 is not valid HTTPStatus

forest sky
#

same 299 error for me
Registrador: homeassistant.components.alexa_devices
Fuente: helpers/update_coordinator.py:382
integración: Alexa Devices (documentación, problemas)
Ocurrió por primera vez: 11:08:27 p.m. (1 ocurrencia)
Última vez registrado: 11:08:27 p.m.
Unexpected error fetching w*******@gmail.com 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
chrome kiln
mellow olive
mellow olive
sleek trench
mellow olive
#

On mobile can look at it tomorrow probably or before

toxic lava
#

Any updates from this?