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

No cars found in account #104

Closed
stijnpieters opened this issue Jan 22, 2024 · 1 comment
Closed

No cars found in account #104

stijnpieters opened this issue Jan 22, 2024 · 1 comment
Labels
duplicate This issue or pull request already exists

Comments

@stijnpieters
Copy link

stijnpieters commented Jan 22, 2024

As the title suggests, I'm getting a "No cars found in account" error.
When login in on the page mentioned in the repo, I don't seem to have a "cars" tab either.

However, after just wildly guessing, the following endpoint did show me my car and its correct VIN: https://polestarid.eu.polestar.com/Account/cars

Any possibility the VIN enumeration could be done through this?

This error originated from a custom integration.

Logger: custom_components.polestar_api.config_flow
Source: custom_components/polestar_api/config_flow.py:43
Integration: Polestar API (documentation)
First occurred: 20:52:21 (2 occurrences)
Last logged: 20:55:06

Unexpected error creating device
Traceback (most recent call last):
  File "/config/custom_components/polestar_api/config_flow.py", line 43, in _create_device
    await device.init()
  File "/config/custom_components/polestar_api/polestar.py", line 35, in init
    await self.polestarApi.init()
  File "/config/custom_components/polestar_api/pypolestar/polestar.py", line 40, in init
    await self._get_vehicle_data()
  File "/config/custom_components/polestar_api/pypolestar/polestar.py", line 115, in _get_vehicle_data
    raise PolestarNoDataException("No cars found in account")
custom_components.polestar_api.pypolestar.exception.PolestarNoDataException: No cars found in account
@leeyuentuen
Copy link
Owner

same issue here:

#90

you should be not the owner with that account. maybe check other account or contact polestar to transfer that to you account.

@leeyuentuen leeyuentuen added the duplicate This issue or pull request already exists label Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants