tillsteinbach / WeConnect-python

Python API for the Volkswagen WeConnect Services
MIT License
105 stars 28 forks source link

Again Problem to refresh the token #120

Closed TobiasIW closed 1 year ago

TobiasIW commented 1 year ago

I have the problem again that it is not possible to refresh the token. The issue was there two weeks ago and was fixed by accepting terms and conditions. Today I checked that there is nothing new in the portal, logged out from the app and logged in again but still nothing is working..

`[27/03/2023 20:49:18] [API::DEBUG] Checking tokens [27/03/2023 20:49:18] [API::DEBUG] Token expired. Refreshing tokens [27/03/2023 20:49:18] [API::INFO] Sending POST request to https://tokenrefreshservice.apps.emea.vwapps.io/refreshTokens [27/03/2023 20:49:18] [API::DEBUG] Parameters: https://tokenrefreshservice.apps.emea.vwapps.io/refreshTokens [27/03/2023 20:49:18] [API::DEBUG] Headers: {'User-Agent': 'python-requests/2.21.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': '/', 'Connection': 'keep-alive', 'Content-Length': '1272', 'Content-Type': 'application/x-www-form-urlencoded'} [27/03/2023 20:49:18] [API::INFO] Response with code: 400 [27/03/2023 20:49:18] [API::DEBUG] Headers: {'Date': 'Mon, 27 Mar 2023 18:49:18 GMT', 'Content-Type': 'application/json', 'Content-Length': '76', 'Connection': 'keep-alive'} [27/03/2023 20:49:18] [API::DEBUG] History: [] [27/03/2023 20:49:18] [API::DEBUG] Response error in JSON format

{'description': 'Invalid identity token.', 'errorCode': 'REQUEST_DATA_INVALID'}`

tillsteinbach commented 1 year ago

I guess you wanted to report the bug here: https://github.com/trocotronic/weconnect