evcc icon indicating copy to clipboard operation
evcc copied to clipboard

VW ID.7 Authorize fails with 403

Open andreasziegl opened this issue 6 months ago • 12 comments

Describe the bug

Hi,

since today I can no longer access my ID.7. Checking the logs, the authorize call fails with a 403 (see log section)

I already logged out and in from the VW app, there is no new consent.

I unfortunately could not check the latest nightly, as it does not accept my config due to an invalid port paramter in EEBUS (which I do not have in my config) ([main ] FATAL 2026/05/27 22:19:49 eebus decoding failed due to the following error(s): '' has invalid keys: port)

Steps to reproduce

Have a ID.7 in the config

Configuration details

vehicles:
- type: template
  template: vw 
  title: ID.7 
  user: ... 
  password: ... 
  name: id7
  vin: ...
  capacity: 77

Log details

[vw    ] TRACE 2026/05/27 22:10:14 GET https://emea.bff.cariad.digital/user-login/v1/authorize?client_id=a24fba63-34b3-4d43-b181-942111e6bda8%40apps_vw-dilab_com&code_challenge=bx0QjUEjwy5C9w-Til5NLjAsof6j9-6OX-fD1mDlm2o&code_challenge_method=S256&redirect_uri=weconnect%3A%2F%2Fauthenticated&response_type=code+id_token+token&scope=openid+profile+badge+cars+vin&nonce=KldXyrtdWecwMFksdqitFlEGLiWqVilHRqOthwHHOGu&state=149e1b1d-8049-4655-8db0-a61b4b6cc5a5

[vw    ] TRACE 2026/05/27 22:10:14 <html>

<head><title>403 Forbidden</title></head>

<body>

<center><h1>403 Forbidden</h1></center>

<hr><center>Microsoft-Azure-Application-Gateway/v2</center>

</body>

</html>

[main  ] ERROR 2026/05/27 22:10:14 creating vehicle id7 failed: cannot create vehicle type 'template': cannot create vehicle type 'vw': state parameter not found

What type of operating system or environment does evcc run on?

Docker container

External automation

  • [x] I have made sure that no external automation like HomeAssistant or Node-RED is active or accessing any of the mentioned devices when this issue occurs.

Nightly build

  • [ ] I have verified that the issue is reproducible with the latest nightly build

Version

v0.307.2 and v0.307.1

andreasziegl avatar May 27 '26 20:05 andreasziegl

Hi, i got the same Problem since shortly with my ID.3 Request failed with status code 400. cannot create vehicle type 'template': cannot create vehicle type 'vw': state parameter not found. POST https://192.168.1.239/api/config/test/vehicle

lordrascal avatar May 27 '26 20:05 lordrascal

same here

t-rood avatar May 27 '26 20:05 t-rood

Same behavior with an e-Up on 0.307.2

woutervanrooy avatar May 27 '26 20:05 woutervanrooy

Same issue here with my ID.4. Happend after upgrading evcc 0.307.0 -> 0.307.2

maartenc avatar May 27 '26 20:05 maartenc

identically fails 403 auth error on downgraded 0.306.3, so this is not an evcc.io issue per se.

t-rood avatar May 27 '26 20:05 t-rood

iobroker vw-adapter doesn't work too any more :(

lordrascal avatar May 27 '26 21:05 lordrascal

The VAG-API has changed. See discussion here:

https://github.com/evcc-io/evcc/discussions/30236

Chr1bu avatar May 27 '26 21:05 Chr1bu

@andig Die Integration von Volkswagen (robinostlund ((github)) im Homeassistent funktioniert wieder nach Update.

chfaurie avatar May 28 '26 03:05 chfaurie

My evcc vehicle is still working. Is the failure only when running evcc for a longer time or not every account affected yet?

StefanSchoof avatar May 28 '26 05:05 StefanSchoof

access token lifetime...

t-rood avatar May 28 '26 05:05 t-rood

My evcc vehicle is still working. Is the failure only when running evcc for a longer time or not every account affected yet?

And now my evcc vehicle is giving also the failure.

StefanSchoof avatar May 28 '26 05:05 StefanSchoof

Mine also..

HansChamp avatar May 28 '26 05:05 HansChamp