bluelinky icon indicating copy to clipboard operation
bluelinky copied to clipboard

EU stopped working (Hyundai)

Open gerwim opened this issue 4 months ago • 16 comments

Describe the bug As of today, EU stopped working. Maybe related to #293?

Usefull info(please complete the following information):

  • OS: Linux
  • Bluelinky Version: 9.1.0
  • Region: EU
  • Brand: Hyundai

Additional context

@EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin - {"errId":"6ad9cd01-9f03-41ff-b828-3755287fbb7b","errCode":"4003","errMsg":"Invalid values"}

Login:

  const client = new BlueLinky({
    username: "[email protected]",
    password: "password",
    region: "EU",
    pin: "1234",
  });
```

gerwim avatar Aug 01 '25 20:08 gerwim

Experiencing the same

[2025-08-01 23:32:29] debug: @EuropeController.login: Trying to sign in with EuropeanBrandAuthStrategy
[2025-08-01 23:32:33] error: @EuropeController.login: sign in with EuropeanBrandAuthStrategy failed with error Error: @EuropeanBrandAuthStrategy.login: Authentication failed, cannot retrieve error message
[2025-08-01 23:32:33] debug: @EuropeController.login: Trying to sign in with EuropeanLegacyAuthStrategy
Client err Y [ManagedBluelinkyError]: @EuropeController.login: [400] Bad Request on [POST] https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/signin - {"errId":"4d0eeaec-725a-4293-9ec2-4efa953b8e08","errCode":"4003","errMsg":"Invalid values"}

dest4 avatar Aug 01 '25 21:08 dest4

Goodmorning,

Also here i have the problem [2025-08-02 04:40:35] error: @EuropeController.login: sign in with EuropeanBrandAuthStrategy failed with error Error: @EuropeanBrandAuthStrategy.login: Authentication failed, cannot retrieve error message

i'm also on EU

Magca78 avatar Aug 02 '25 03:08 Magca78

Anybody has the official Bluelink mobile app could check that it is working or not working? This would help discriminate an issue on Hyundai's side or on bluelinky's side.

dest4 avatar Aug 02 '25 07:08 dest4

Anybody has the official Bluelink mobile app could check that it is working or not working? This would help discriminate an issue on Hyundai's side or on bluelinky's side.

Yes the app is working fine, no problems there

Magca78 avatar Aug 02 '25 07:08 Magca78

Related:

  • https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/pull/848
  • https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/pull/850

dest4 avatar Aug 02 '25 07:08 dest4

I am working on it this weekend. Hopefully fixed soon.

PierreLevres avatar Aug 02 '25 08:08 PierreLevres

Any update on the progress or something that can be tested already?

Btw I am using on Kia, which suffers the same problem.

dirkjanfaber avatar Aug 04 '25 11:08 dirkjanfaber

It’s working again for me since yesterday evening without any change in the code

kelyaenn avatar Aug 05 '25 05:08 kelyaenn

Can confirm. It worked yesterday evening at 21:00 (CEST).

gerwim avatar Aug 05 '25 05:08 gerwim

Super nice that it works again for some accounts. However, for Kia it isn't working (yet):

[2025-08-05 08:31:01] error: @EuropeController.login: sign in with EuropeanBrandAuthStrategy failed with error HTTPError: Response code 401 (Unauthorized)

Tried with 2 different cars / accounts that used to work without problems.

dirkjanfaber avatar Aug 05 '25 06:08 dirkjanfaber

I've the same issue with kia eu bluelinky version 0.0.30 is already updated to 0.0.32

cheick66 avatar Aug 06 '25 12:08 cheick66

Hey, there seams to be a solution:

A fix for KIA EU implemented in another app for reference: https://github.com/Hyundai-Kia-Connect/hyundai_kia_connect_api/commit/bb498310206a44cdab029aca8dfc5c92c208f80a

cheick66 avatar Aug 06 '25 14:08 cheick66

Guess f45ed36c07937f339da1ab85a6f95f9feb15651a fixed it

philipostli avatar Aug 15 '25 08:08 philipostli

Guess f45ed36c07937f339da1ab85a6f95f9feb15651a fixed it

Not for Hyundai (you need to use bluelinky v9 it seems). Check last comments on PR #300.

gerwim avatar Aug 15 '25 08:08 gerwim

FYI I am running off master using the debug.ts script and I am also running into the Invalid values error. It is preceded by this one:

@EuropeController.login: sign in with EuropeanBrandAuthStrategy failed with error Error: @EuropeanBrandAuthStrategy.login: Could not extract authorization code from redirect location:

https://idpconnect-eu.hyundai.com/auth/api/v2/user/oauth2/authorize?client_id=6d477c38-3ca4-4cf3-9557-2a1929a94654&redirect_uri=https://prd.eu-ccapi.hyundai.com:8080/api/v1/user/oauth2/redirect&nonce&state=ccsp&scope&response_type=code&connector_client_id=6d477c38-3ca4-4cf3-9557-2a1929a94654&connector_scope&orgHmgSid=&connector_session_key=…&captcha=1&reqUsername=…@…

The URL mentions captcha which makes me think this might be related to #307 which also mentions it.

TomasHubelbauer avatar Oct 14 '25 22:10 TomasHubelbauer

I'm having the same problem, getting the same type of error.

I tried following the conversations in an issue over att Hyundai-Kia-Connect repo, in particular this comment. While I was eventually able to retrieve a token, I could not simply paste it as password to bluelinky. Either I'm doing something wrong or bluelinky does not work the same way as the python library does.

pakerfeldt avatar Oct 24 '25 07:10 pakerfeldt