-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Unexpected exception error #201
Comments
Garmin seems to have changed their API, we are looking into fixing the underlaying library. Duplicate of #200 |
Temp fixed in version 0.2.20! |
can confirm it is working. |
Working! Thanks 👍 |
I updated to 0.2.22 and restarted HA, still getting:
|
I can confirm that I'm getting the same error |
+1 here. Not much help I know but happy to know I am not on my own. :-) |
Hey there, |
No 2FA here and Garmin integration documents the need to disable it anyway. |
I just got a new Garmin watch and was trying to get this working. After reading about the 2FA issue, I tried to disable 2FA on my brand new account. It seems like Garmin has "permanent 2FA" set on new accounts, so I cannot disable it. So for any accounts created going forward, it seems like this won't work until/unless 2FA is supported by this plugin. |
It looks like it's broken again (clean install and same garth issue). |
@dgolovach should be fixed in last version, can you try? |
Still seeing the same error in 0.2.26 |
Which error exactly? Can you post part of log? |
|
Hello, I was having a similar error, related to MFA. When I switched it off, it logged in. Perhaps the reason for the need to login again was relate to disruption yesterday with Garmin servers. Anyway, I switched MFA back on on my login and will keep an eye. My log is below, in case it helps. MFA is here to stay, I reckon. Some of the exposed functionality will always be a magnet for malicious activity. **This error originated from a custom integration. Logger: custom_components.garmin_connect Unknown error occurred during Garmin Connect login request |
Hi,
Login process is not working and, after deleting the integration and creating again, I get the following error.
Please, advise.
Thanks!
This error originated from a custom integration.
Logger: custom_components.garmin_connect.config_flow
Source: custom_components/garmin_connect/config_flow.py:47
integration: Garmin Connect (documentation, issues)
First occurred: 7:22:30 AM (4 occurrences)
Last logged: 7:24:46 AM
Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/garmin_connect/config_flow.py", line 47, in async_step_user
await self.hass.async_add_executor_job(api.login)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/garminconnect/init.py", line 181, in login
self.display_name = self.garth.profile["displayName"]
^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/garth/http.py", line 104, in profile
assert isinstance(self._profile, dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError
The text was updated successfully, but these errors were encountered: