evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.59k stars 662 forks source link

Add "Jeep" --> "403 (Forbidden)" #10842

Closed TheChatty closed 11 months ago

TheChatty commented 11 months ago

Describe the bug

When I try to add my Jeep Compass it fails on final configuration test.

Steps to reproduce

  1. evcc configure
  2. select "setup single device", select car, select "Jeep", enter portal credentials, wait for test
  3. notice "Error: unexpected status: 403 (Forbidden)"

Configuration details

n/a

Log details

[fiat  ] TRACE 2023/11/20 00:25:15 GET https://loginmyuconnect.fiat.com/accounts.webSdkBootstrap?APIKey=3_mOx_J2...&format=json&pageURL=https%3A%2F%2Fmyuconnect.fiat.com%2Fde%2Fde%2Fvehicle-services&sdk=js_latest&sdkBuild=12234
[fiat  ] TRACE 2023/11/20 00:25:16 {
  "callId": "0387cd4e87c949109d8162056788d3df",
  "errorCode": 0,
  "apiVersion": 2,
  "statusCode": 200,
  "statusReason": "OK",
  "time": "2023-11-19T23:25:16.461Z",
  "hasGmid": "ver4"
}
[fiat  ] TRACE 2023/11/20 00:25:16 POST https://loginmyuconnect.fiat.com/accounts.login
[fiat  ] TRACE 2023/11/20 00:25:16 APIKey=3_mOx_J2...&authMode=cookie&format=json&include=profile%2Cdata%2Cemails&includeUserInfo=true&lang=de0de&loginID=***&loginMode=standard&pageURL=https%3A%2F%2Fmyuconnect.fiat.com%2Fde%2Fde%2Flogin&password=***&sdk=js_latest&sdkBuild=12234&sessionExpiration=7776000&source=showScreenSet&targetEnv=jssdk
--
{
  "callId": "901a7d325e6b474c9df8ffa51dc1704d",
  "errorCode": 0,
…
}
[fiat  ] TRACE 2023/11/20 00:25:16 GET https://loginmyuconnect.fiat.com/accounts.getJWT?APIKey=3_mOx_J2...&authMode=cookie&fields=profile.firstName%2Cprofile.lastName%2Cprofile.email%2Ccountry%2Clocale%2Cdata.disclaimerCodeGSDP&format=json&login_token=st2.s.AcbHjeS4EQ.vaFYS-KZOLL7Uejg1WK_LcMvEZMgHVcxq0BvWD3VOuqpojUNLcrGQBdaCbTMRvDQCATgf3-v6EuF0kn4wROM7yNmtcCb4LROUY83XFaNIGNcqh0YDS7Y0Eecbt9mYHjW.dxVbWUHhwv2cMWJipXDAfTXUlhAzLrsobLL3BmQxJN_OvesuAEQHM_XiU5Cb6e-oMeMD7_upWbEEfzHzsBozNA.sc3&pageURL=https%3A%2F%2Fmyuconnect.fiat.com%2Fde%2Fde%2Fdashboard&sdk=js_latest&sdkBuild=12234
[fiat  ] TRACE 2023/11/20 00:25:16 {
  "callId": "69a7f1f5a6d245d199f4090b07c88fbc",
  "errorCode": 0,
…
}
[fiat  ] TRACE 2023/11/20 00:25:16 POST https://authz.sdpr-01.fcagcv.com/v2/cognito/identity/token
[fiat  ] TRACE 2023/11/20 00:25:17 {"gigya_token":"eyJ0eXA…“}
--
{"IdentityId":"eu-west-1:b8582dc1-8983-46ae-b7de-9fd681bd2bba","Token":"eyJraW.“..}
[fiat  ] TRACE 2023/11/20 00:25:17 GET https://channels.sdpr-01.fcagcv.com/v4/accounts/7195aafa67874887939.../vehicles?stage=ALL
[fiat  ] TRACE 2023/11/20 00:25:17 {"userid":"7195aafa67874887939…“,...
[fiat  ] TRACE 2023/11/20 00:25:17 GET https://channels.sdpr-01.fcagcv.com/v2/accounts/7195aafa67874887939.../vehicles/ZACP.../status
[fiat  ] TRACE 2023/11/20 00:25:18 {"vehicleInfo":{"totalRangeADA":null,…
[fiat  ] TRACE 2023/11/20 00:25:18 POST https://mfa.fcl-01.fcagcv.com/v1/accounts/7195aafa67874887939.../ignite/pin/authenticate
[fiat  ] TRACE 2023/11/20 00:25:18 {"pin“:“...“}
--
{"token":"eyJhbGc…“,“expiry":600000}
[fiat  ] TRACE 2023/11/20 00:25:18 POST https://channels.sdpr-01.fcagcv.com/v1/accounts/7195aafa67874887939.../vehicles/ZACP.../ev
[fiat  ] TRACE 2023/11/20 00:25:18 {"command":"DEEPREFRESH","pinAuth":"eyJhbGc…“}
--
{"name":"FORBIDDEN","message":"Forbidden"}
   Fehler: unexpected status: 403 (Forbidden)

What type of operating system are you running?

Linux

Version

evcc version 0.122.1

TheChatty commented 11 months ago

If I leave "pin" empty, then it works. So what is pin for?