Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

APICompatibilityError('No credentials form found') in 0.35 and 0.34 #33

Closed
mitch-dc opened this issue Jan 28, 2022 · 4 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@mitch-dc
Copy link

Since this morning i get the following error when loggin in/update.

`Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/weconnect/weconnect.py", line 771, in fetchData
self.login()
File "/usr/local/lib/python3.9/site-packages/weconnect/weconnect.py", line 391, in login
raise APICompatibilityError('No credentials form found')
weconnect.errors.APICompatibilityError: No credentials form found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/volkswagen_we_connect_id/init.py", line 35, in async_setup_entry
await hass.async_add_executor_job(api.update)
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.9/site-packages/weconnect/weconnect.py", line 594, in update
self.updateVehicles(updateCapabilities=updateCapabilities, updatePictures=updatePictures, force=force, selective=selective)
File "/usr/local/lib/python3.9/site-packages/weconnect/weconnect.py", line 601, in updateVehicles
data = self.fetchData(url, force)
File "/usr/local/lib/python3.9/site-packages/weconnect/weconnect.py", line 797, in fetchData
except requests.exceptions.JSONDecodeError as jsonError:
AttributeError: module 'requests.exceptions' has no attribute 'JSONDecodeError'`

@tillsteinbach
Copy link
Owner

VW changed the login form. Will release an update as soon as possible!

@tillsteinbach
Copy link
Owner

I have a dirty emergency fix out in 0.35.1 I will make it more beautiful the next days. At least it should work again!

@mitch-dc
Copy link
Author

Thank you very much! Also from a lot of home assistant users ;)

@strutings
Copy link

Good job! Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants