New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alexa API / Too many requests #2177
Comments
I am also seeing similar behaviour:
|
Hi 👋,
maybe they are just coincidences but this is it and unfortunately even by removing what seemed to me to be the cause, the errors continue. |
also other smarthome tools like FHEM have problems - Amazon changed something |
Hi, enclose my log entries from different days.
|
Yes, I also think so. I integrated the air quality sensor in December and the errors started approx. 10 days (?) ago. I cannot be precise here as I noted them by coincidence when I saw my dashboard is not showing values for the sensors every now and then. |
Yup. Its getting pretty annoying. Thought I was the only one. To a state where I cant stop my audio player radio over voice command.
|
Same problem here from a couple of weeks ago, no HA configuration changed in the last month. |
Same problem |
I had the same problem. After the integration was reloaded, the error did not reappear. Let's see how it goes now... |
Did you need to reconfigure alexa_media or just reloaded the integration? |
The integration was automatically reloaded after I pressed CTRL + F5. Nothing more had to be done. But as I said, so far the message hasn't come back, but I'll know tomorrow between 8 and 11 a.m., because it was usually during this time that problems occurred. |
Did not fix it for me. Deleted it, restarted and again got this.
|
Did not fix for me. I suppose depend of responsive of AWS cloud. |
Didn't work for me either |
Unfortunately, it didn't last for me.
--
--
--
|
Same issues in the log.
|
sometimes the Echo are unavailable, the related service not available and repair required |
After this error I a having a 5 minute gap in history data for my air quality monitor, in the dashboard it is shown as unavailable for the same time. |
same thing for me too |
Same problem |
Same problem too |
Okay, can we please stop writing me too? Getting an email notification just because someone can't press thumbs up and instead has to write "same problem" isn't helping. Thanks. |
with reference to point 2. of your note, I am not finding in the core.config_entries file or other HA file any reference to the object reported in the error log (e.g. object at 0x7f4f5e6090 ), where am I going wrong? |
I @micium, |
No, the 0x7f4f5e6090 is the object in my log but i did not find it in my HA files |
I' m sorry, I don't know. |
In case it wasn't obvious, this is an Amazon issue and there's nothing we can do about it here. I'll leave this open for reference. |
ok. I understand it's a problem with Amazon's servers. But I ask you, is there any solution to limit the frequency of the problem? In other words... Does the problem depend on the number of requests made on single session (so the more devices you have, the more the problem occurs) or on the frequency with which each account connects to the servers to check the status of the devices? |
Yes, the configuration.yaml in the main folder. |
I confirm that by commenting "API:" statement in the configuration.yaml file the messages have disappeared |
Sorry but I never had these entries in configuration.yaml and even faced these messages. |
For me this issue has resolved itself. It appears that I get updates from the API whenever they update from the device. The only thing I have done was power cycle everything. |
me too, i dont have this part into conf.yaml...... the link is for official integration but here we are on custom integration :-( so... it is different |
Also no errors for me since the update to 2024 2.3 (I also had problems with the FritzBox Integration, which are also gone now). |
I updated to the latest 2024.2.3... I restarted all the Amazon devices (3 echoes and an air quality monitor) but nothing has changed, in fact I continue to have device disconnections (the frequency of disconnections varies depending on the day). |
Same here, even upgraded to 2024.2.4 today, 5 Echo devices restarted, HA restarted. Nothing changed. |
Problem disappear now for me..... nothing done... :-) |
Same for me.. disappeared. This was an amazon issue |
And here I am coming here because I've been seeing these errors in the logs for the last few days. I suppose it's my turn! |
The issue concerning errors are gone, changing volume using "media_player.volume_set" works, but reading the volume level back using the attribute "volume_level" of entity "media_player.xxxx" gives wrong values |
For a few days everything seemed to be back to normal. but from this night the problems started again and the entities are no longer available intermittently. Let's hope they solve it |
and now again also for me after some days without warning / errors :-( |
Just got this error for the first time yesterday (March 4th) |
in my HA the errors don't stop. |
Yeah seems to happen every day, a dozen times per day. Most of the time, everything recovers and no one notices, but occasionally it will happen right as I'm trying to toggle a light, and of course, it fails. |
I hadn't used Alexa or the integration with HA for ages. Went to use it the other day to pair with my ATOM Echo and saw that none of my Alexa devices were showing. I reinstalled it and none of my 16 Echo/Alexa devices are being found or appearing in the list. The logs have a lot of "Too many requests" in the various lines. |
Hi all, I think that I fixed it by unchecking "include devices connected through Echo" on the Alexa integration configuration. This suggests that the problem might stem from the number of calls the integration is making to poll the devices and their statuses from the Alexa API. |
No. Mine always had this option turned off and it gives errors |
Ditto. |
Same Problem for me |
Having this problem too. |
I've had the too many requests issue in my logs for a long time, but since it never affected the actual usability, I never paid much attention to it... until a couple weeks ago. |
I can tell you what I did yesterday: -My Alexa was unavailable on my HA. I unplug my alexa from power for about 30 seconds and reconnect. Let it do his thing, and get connected to it's wifi with her final blue flashes. Went to my HA UI, --> dev-tools --> Check config and Restart HA.. After restart, with my recently rebooted Alexa Echo this time... my alexa entities became available upon restart. Don't now if it will last, but at least, I know when someone is knocking at the door for the last 24 hours. Hope it helps. (note: I must add that I still see 'tooManyRequests' messages in the log. They are still there, but at least my Echo is available and working) |
I'm pretty confident that it's not a localised thing to individual configurations, but that there is too many people probably using the add on now globally and that's what is causing it to hit a limit.. of course, I can't be sure either.. But I do notice it happens more often around the same time of the day when it does happen. |
Having an issue here, too. |
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
I am getting quite a lot of errors saying that there were too many requests and other problems (getting history records). The problem seems to be the Indoor Air Quallity Monitor, at least it is the only Amazon device I use except my Echos.
I am using it as temperature and hygrometer device, I think the device is sending updates every 5 minutes.
To Reproduce
Expected behavior
No problem with getting data, not getting the "too many requests error.
Screenshots
System details
const.py
or HA startup): 4.9.0pip show alexapy
or HA startup): Package not foundLogs
Please provide logs.
1.)
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: custom_components.alexa_media
Source: helpers/update_coordinator.py:332
Integration: Alexa Media Player (documentation, issues)
First occurred: 18:12:58 (1 occurrences)
Last logged: 18:12:58
Error fetching alexa_media data: Error communicating with API:
2,)
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: alexapy.helpers
Source: custom_components/alexa_media/init.py:756
Integration: Alexa Media Player (documentation, issues)
First occurred: 18:12:58 (2 occurrences)
Last logged: 18:12:58
alexaapi.get_customer_history_records((<alexapy.alexalogin.AlexaLogin object at 0x7f74fc4950>,), {'max_record_size': 10}): An error occurred accessing AlexaAPI: An exception of type AlexapyTooManyRequestsError occurred. Arguments: ('',)
alexaapi.get_last_device_serial((<alexapy.alexalogin.AlexaLogin object at 0x7f74fc4950>,), {}): An error occurred accessing AlexaAPI: An exception of type AlexapyTooManyRequestsError occurred. Arguments: ('',)
3.)
Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht
Logger: alexapy.alexaapi
Source: custom_components/alexa_media/init.py:756
Integration: Alexa Media Player (documentation, issues)
First occurred: 18:12:58 (1 occurrences)
Last logged: 18:12:58
Giving up _static_request(...) after 5 tries (alexapy.errors.AlexapyTooManyRequestsError)
Additional context
The text was updated successfully, but these errors were encountered: