This is a Kia UVO and Hyundai Bluelink written in python. It is primary consumed by home assistant. If you are looking for a home assistant Kia / Hyundai implementation please look here: https://github.com/Hyundai-Kia-Connect/kia_uvo. Much of this base code came from reading bluelinky and contributions to the kia_uvo home assistant project.
Unable to login using US based credentials to a USA KIA based account/vehicle. Login attempt happening from UK, London.
Curl request below (same request using KiaUvoAPIUSA.py login function)
{"status":{"statusCode":1,"errorType":1,"errorCode":1001,"errorMessage":"Invalid Email or Password"}}
What I Did
Ran Curl command above
Running through the app, the output is below
File "/app/connect-app/.venv/lib/python3.11/site-packages/hyundai_kia_connect_api/KiaUvoAPIUSA.py", line 195, in login
raise Exception(
Exception: hyundai_kia_connect_api - No session id returned in login. Response: {"status":{"statusCode":1,"errorType":1,"errorCode":1001,"errorMessage":"Invalid Email or Password"}} headers {'Set-Cookie': 'dtCookie=v_4_srv_6_sn_E503E76FACE498157475FF639A79D715_perc_100000_ol_0_mul_1_app-3A52065f521999d1da_1; Path=/; Domain=.kia.com', 'X-OneAgent-JS-Injection': 'true', 'Server-Timing': 'dtRpid;desc="-921102966", dtSInfo;desc="0"', 'xid': 'bf1a2743-d25c-4fa0-b83e-4887e99da462', 'errCd': '1001', 'Content-Type': 'application/json;charset=UTF-8', 'Content-Length': '101', 'Date': 'Fri, 26 Jul 2024 14:20:43 GMT', 'Connection': 'close', 'Server': ''} cookies <RequestsCookieJar[<Cookie dtCookie=v_4_srv_6_sn_E503E76FACE498157475FF639A79D715_perc_100000_ol_0_mul_1_app-3A52065f521999d1da_1 for .kia.com/>]>
Please note if I use Kia Connect app on my iphone, and tracing the network requests, seems like the app uses the eu based url [prd.eu-ccapi.kia.com](http://prd.eu-ccapi.kia.com/) to login and list the available vehicles, even though the account itself is US based.
Description
Unable to login using US based credentials to a USA KIA based account/vehicle. Login attempt happening from UK, London. Curl request below (same request using KiaUvoAPIUSA.py login function)
Output:
What I Did
Please note if I use
Kia Connect
app on my iphone, and tracing the network requests, seems like the app uses the eu based url[prd.eu-ccapi.kia.com](http://prd.eu-ccapi.kia.com/)
to login and list the available vehicles, even though the account itself is US based.