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

User is not granted access to vehicle VIN #147

Closed
laur3ns opened this issue Jan 15, 2023 · 2 comments
Closed

User is not granted access to vehicle VIN #147

laur3ns opened this issue Jan 15, 2023 · 2 comments

Comments

@laur3ns
Copy link

laur3ns commented Jan 15, 2023

No cars (devices/entities) show up and logs shows this error:

This error originated from a custom integration.

Logger: custom_components.porscheconnect
Source: custom_components/porscheconnect/init.py:100
Integration: Porsche Connect (documentation, issues)
First occurred: 20:48:19 (2 occurrences)
Last logged: 20:51:02

User is not granted access to vehicle VIN WP0ZZZXXXXXXXXXXX, reason

(end)

Any clue? My Porsche app and site work fine.

@laur3ns
Copy link
Author

laur3ns commented Jan 25, 2023

In latest version*

This error originated from a custom integration.

Logger: custom_components.porscheconnect
Source: custom_components/porscheconnect/__init__.py:100
Integration: Porsche Connect (documentation, issues)
First occurred: January 23, 2023 at 11:33:25 (2 occurrences)
Last logged: 20:20:11

User is not granted access to vehicle VIN WP0ZZZXXXXXXXXXXX, reason


Logger: homeassistant.config_entries
Source: config_entries.py:1133
First occurred: 20:20:02 (1 occurrences)
Last logged: 20:20:02

Config entry 'xxxxxx@xxxxxxx.xxx' for porscheconnect integration not ready yet: string indices must be integers; Retrying in background

This error originated from a custom integration.

Logger: custom_components.porscheconnect
Source: custom_components/porscheconnect/__init__.py:193
Integration: Porsche Connect (documentation, issues)
First occurred: 20:20:02 (1 occurrences)
Last logged: 20:20:02

Unexpected error fetching porscheconnect data: string indices must be integers
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 225, in _async_refresh
    self.data = await self._async_update_data()
  File "/config/custom_components/porscheconnect/__init__.py", line 193, in _async_update_data
    vin = vehicle["vin"]
TypeError: string indices must be integers


*) Version info:

Home Assistant 2023.1.7
Supervisor 2022.12.1
Operating System 9.4
Frontend 20230110.0 - latest

@fredriklj
Copy link
Collaborator

We're back to square one, cf. #242 and reopen any new issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants