question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

kia_uvo Exception in kia_uvo login

See original GitHub issue

Hello, release 1.1.1 on HA Core 2021.5.1. Filling in the account details, with Europe and Kia. I get this message: “Login failed into Kia Uvo / Hyundai Bluelink Servers. Please use official Kia Uvo app to logout and log back in and try again!” And in the server logs I get:

ERROR (MainThread) [custom_components.kia_uvo.config_flow] kia_uvo Exception in kia_uvo login : unsupported operand type(s) for |: 'dict' and 'dict' - traceback: Traceback (most recent call last):
  File "/config/custom_components/kia_uvo/KiaUvoApiEU.py", line 106, in login
    self.authorization_code = self.get_authorization_code_with_redirect_url()
  File "/config/custom_components/kia_uvo/KiaUvoApiEU.py", line 228, in get_authorization_code_with_redirect_url
    parsed_url = urlparse(response["redirectUrl"])
KeyError: 'redirectUrl'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/config/custom_components/kia_uvo/config_flow.py", line 155, in async_step_user
    self.token = await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.8/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/kia_uvo/KiaUvoApiEU.py", line 108, in login
    self.authorization_code = self.get_authorization_code_with_form()
  File "/config/custom_components/kia_uvo/KiaUvoApiEU.py", line 236, in get_authorization_code_with_form
    self.cookies = self.cookies | response.cookies.get_dict()
TypeError: unsupported operand type(s) for |: 'dict' and 'dict'

Anything I can try?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cdnninjacommented, Dec 1, 2021

Looks like you have an older version of python running. This repo requires version 3.9 or later.

What platform or method are you running home assistant on?

0reactions
alexfdcommented, Dec 4, 2021

Success, is working after update. 🎉

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kia Connect TroubleShooting
I have Kia Connect equipped vehicle but then I am not able to access Kia Connect features. ... Why isn't Kia Connect sign-in...
Read more >
Login failed into Kia Uvo / Hyundai Bluelink Servers. · Issue #96
Get this error message in the integration: Login failed into Kia Uvo / Hyundai Bluelink Servers. Please use official Kia Uvo app to...
Read more >
Kia Uvo Integration - Home Assistant Community
I have baked a custom integration for EU Kia Uvo, this will be working for new ... kia_uvo Exception in kia_uvo login :...
Read more >
KIA car UVO CONNECT - Domoticz
is there anyone using KIA UVO CONNECT system with Domoticz, ... 2022-01-29 15:14:40.697 Error: WebServer PO exception occurred : 'stoull'
Read more >
Ready to Get Started with Kia UVO eService in Knoxville TN?
UVO eService is Kia's in-vehicle media controller and infotainment system that connects to your smartphone to provide lots of useful tools ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found