Skip to content
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

[Bug] Unknown error happened during updating device info - this is a separate issue #575

Closed
dinan5 opened this issue Apr 25, 2024 · 8 comments
Labels
bug Something isn't working Stale

Comments

@dinan5
Copy link

dinan5 commented Apr 25, 2024

Describe the bug

To Reproduce
Steps to reproduce the behavior:

  1. None, just shows up in log

Expected behavior

System configuration
System:
HA Version:
WyzeApi Version:

home-assistant.log

Logger: wyzeapy.services.update_manager
Source: /usr/local/lib/python3.12/site-packages/wyzeapy/services/update_manager.py:46
First occurred: 2:38:37 PM (2 occurrences)
Last logged: 4:40:52 PM

Unknown error happened during updating device info
Traceback (most recent call last):
  File "/usr/local/lib/python3.12/site-packages/wyzeapy/services/update_manager.py", line 42, in update
    self.device = await self.service.update(self.device)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/wyzeapy/services/switch_service.py", line 25, in update
    device_info = await self._get_property_list(switch)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/wyzeapy/services/base_service.py", line 167, in _get_property_list
    check_for_errors_standard(response_json)
  File "/usr/local/lib/python3.12/site-packages/wyzeapy/utils.py", line 84, in check_for_errors_standard
    raise UnknownApiError(response_json)
wyzeapy.exceptions.UnknownApiError: {'code': '1011', 'msg': 'system limit exceeded, please try again later.', 'traceId': '5a81ec2548de6276504975e5f7946898', 'data': {}}

@dinan5 dinan5 added the bug Something isn't working label Apr 25, 2024
@dinan5 dinan5 changed the title [Bug] Unknown error happened during updating device info - rhis is a separate issue [Bug] Unknown error happened during updating device info - this is a separate issue Apr 25, 2024
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label May 26, 2024
@glyndon
Copy link

glyndon commented May 31, 2024

commenting to keep this from going stale. It looks like a rate-limit gets exceeded at random times.

@github-actions github-actions bot removed the Stale label Jun 1, 2024
Copy link

github-actions bot commented Jul 1, 2024

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Jul 1, 2024
Copy link

github-actions bot commented Jul 7, 2024

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jul 7, 2024
@dinan5
Copy link
Author

dinan5 commented Jul 7, 2024

Would it be easier to just say that this API is no longer supported? Just look at the close reasons for almost all issues - closed as stale. lets just be honest with the community, for all intents and purposes, it is no longer supported.

@brg468
Copy link
Collaborator

brg468 commented Jul 7, 2024

Relax. It’s not unsupported, you’re talking about an issue that is due to a rate limit on the Wyze servers. Other than dramatically reducing polling on everything here there’s not a lot we can do about this specific error. Unless you have a recommendation?

@dinan5
Copy link
Author

dinan5 commented Jul 7, 2024

I'm very relaxed. might i suggest you explain the issue(s) in the first place vs letting everything go stale. the stats speak for themselves.

@brg468
Copy link
Collaborator

brg468 commented Jul 7, 2024

It was explained by @glyndon. We’d love more help on resolving issues here if you’re willing to contribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Stale
Projects
None yet
Development

No branches or pull requests

3 participants