robinostlund / homeassistant-volkswagencarnet

Volkswagen Carnet Component for home assistant
GNU General Public License v3.0
318 stars 59 forks source link

Unable To Login #495

Closed nzneil22 closed 1 year ago

nzneil22 commented 1 year ago

Before you post a new issue - you must first check the following (and check the boxes with an "X" below)

Environment

Describe the bug

Im trying to login yet i get an error. In the logs i have this: This error originated from a custom integration.

Logger: volkswagencarnet.vw_connection Source: custom_components/volkswagencarnet/config_flow.py:93 Integration: Volkswagen We Connect (documentation, issues) First occurred: 14:37:59 (1 occurrences) Last logged: 14:37:59

Failed to fetch VW-Group API tokens, API token request returned with status code 403

Steps to Reproduce

Simply setting up the integration initially and entering all the data and click submit.

Expected behavior

It used to just work after this step, it should be showing the car and the sensor.

Screenshots

Traceback/Error logs

This error originated from a custom integration.

Logger: volkswagencarnet.vw_connection
Source: custom_components/volkswagencarnet/config_flow.py:93
Integration: Volkswagen We Connect (documentation, issues)
First occurred: 14:47:36 (1 occurrences)
Last logged: 14:47:36

Failed to fetch VW-Group API tokens, API token request returned with status code 403

Debug information - all JSON responses from logfile

This error originated from a custom integration.

Logger: volkswagencarnet.vw_connection Source: custom_components/volkswagencarnet/config_flow.py:93 Integration: Volkswagen We Connect (documentation, issues) First occurred: 14:47:36 (1 occurrences) Last logged: 14:47:36

Failed to fetch VW-Group API tokens, API token request returned with status code 403

Additional context

sailor1958 commented 12 months ago

My guess is a wrong password or username. (HTTP status code 401) Server status 429 to many tries.

nzneil22 commented 12 months ago

Update: seems to have resolved itself. Thanks :)

StefanoGiu commented 11 months ago

Hello, I still get those warnings: 2023-09-14 08:21:57.457 WARNING (MainThread) [volkswagencarnet.vw_connection] User identity token could not be verified! 2023-09-14 08:21:57.692 WARNING (MainThread) [volkswagencarnet.vw_connection] VW-Group API token could not be verified!

But the integration seems to work properly... is this normal?