-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Error Requesting Data, Please reauthenticate #19
Comments
Thanks for reporting. Do you see any entities or sensors for your car(s)? |
Hi, I cannot see any sensors of my car. |
can you please
|
P.S.: I was able to get it to work by changing the Time Zone of Home Assistant to Etc/GMT, restarting and trying to authenticate again. After that I reverted to my Time Zone and everything is working. I read about this authentication issue for some other integration and it did the trick here too. Maybe this helps someone else. |
I just tried to set up the MBAPI for my 2019 CLA Shooting brake.
Installing and receiving the TAN-Code all worked perfectly fine, I got the message that the MBAPI was successfully set up.
But then the message appeared to reauthenticate. Am I doing something wrong?
Latest reads from the log:
2021-05-18 18:44:58 ERROR (MainThread) [custom_components.mbapi2020.oauth] Error requesting data from https://id.mercedes-benz.com/as/token.oauth2: 400, message='Bad Request', url=URL('https://id.mercedes-benz.com/as/token.oauth2') 2021-05-18 18:44:58 ERROR (MainThread) [custom_components.mbapi2020] Authentication failed. Please reauthenticate. 2021-05-18 18:46:00 ERROR (MainThread) [custom_components.mbapi2020.oauth] Error requesting data from https://id.mercedes-benz.com/as/token.oauth2: 400, message='Bad Request', url=URL('https://id.mercedes-benz.com/as/token.oauth2') 2021-05-18 18:46:00 ERROR (MainThread) [custom_components.mbapi2020] Authentication failed. Please reauthenticate. 2021-05-18 18:52:56 ERROR (MainThread) [homeassistant.components.system_health] Error fetching info Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/components/system_health/__init__.py", line 69, in get_integration_info data = await registration.info_callback(hass) File "/config/custom_components/mbapi2020/system_health.py", line 21, in system_health_info client = hass.data[DOMAIN] KeyError: 'mbapi2020'
The text was updated successfully, but these errors were encountered: