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

Unexpected error creating api #135

Open
leighpilkington opened this issue Apr 26, 2024 · 4 comments
Open

Unexpected error creating api #135

leighpilkington opened this issue Apr 26, 2024 · 4 comments
Labels
invalid This doesn't seem right

Comments

@leighpilkington
Copy link

G’day all,

Got my polestar today and registered the phone etc, my account is all good to go and I can connect to the car through the phone.

However, after restarting home assistant, confirming connection, etc, when I put in my credentials at set up I get a “ Unexpected error creating api” error returned and it kicks me out.

Any ideas of what I should do?

Cheers,

Leigh

@leeyuentuen
Copy link
Owner

leeyuentuen commented Apr 26, 2024

can you check in the log?

should be something same like this issue:
#133

@leighpilkington
Copy link
Author

I thought that might have been it initially but when I tried before picking up the car, I got a clear “there are no cars” error.

The log does suggest otherwise though!!

This error originated from a custom integration.

Logger: custom_components.polestar_api.pypolestar.polestar
Source: /config/custom_components/polestar_api/pypolestar/polestar.py:121
integration: Polestar API (documentation)
First occurred: 7:28:50 PM (3 occurrences)
Last logged: 8:41:53 PM

No cars found in account
NoneType: None

It’s a government lease so I guess it could mean that the car will never show up in my account..?..

@leeyuentuen
Copy link
Owner

i don't think it should be an issue,
just ask polestar to link the car to your account see this post:
#133 (comment)

you should normally see your car in your polestar account then:
#133 (comment)
like on this URL: https://www.polestar.com/uk/login/cars

@leighpilkington
Copy link
Author

I’ll give it a go after I wait a few days. I only signed the paperwork today (and literally it was paper so I will give it some time to filter through). Thanks for pointing me in the right direction. Patience and then a call if it fails and I’ll see how it goes.

@leeyuentuen leeyuentuen added the invalid This doesn't seem right label Apr 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

2 participants