trocotronic/weconnect

Problem refreshing token

Closed this issue · 2 comments

I have the problem again that it is not possible to refresh the token.
The issue was there some weeks ago and was fixed by accepting terms and conditions. I have checked that there is nothing new in the portal, logged out from the app and logged in again but still nothing is working..
Car is a 2017 VW e-Golf.
The problem is there now for more than two weeks already.
Debug output:

`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'}`

Is it fixed?

Yes, at the moment it is fixed. It seems like it was related to some local caching, I could only fix it by copying my complete project to a new location