-
-
Notifications
You must be signed in to change notification settings - Fork 25
Description
Several times in the last week or two the plugin reports that it is not authenticated. I go through the reauth flow successfully. This is after many months of no issues with auth.
Rivian Plugin Version: 1.4.0
Rivian: 2025.26.01
Charger: V03.04.12
Installation method: Home Assistant OS
Core: 2025.8.3
Supervisor: 2025.09.0
Operating System: 15.2
Frontend: 20250811.1
In the logs it looks like it starts with API calls related to the Rivian wall charger (which in my HA is an entity, along with the vehicle itself).
Maybe Rivian web service / API issues, but ticketing in case there is a change to their API.
Rivian api exception: (200, {'errors': [{'message': '500: Internal Server Error', 'locations': [{'line': 2, 'column': 3}], 'path': ['getRegisteredWallboxes'], 'extensions': {'code': 'INTERNAL_SERVER_ERROR', 'response': {'url': 'http://dc-service-chrg-user-cmd-be.charging/charging/api/v1/wallbox/?userId=[redacted]', 'status': 500, 'statusText': 'Internal Server Error', 'body': {'timestamp': '2025-09-07T14:55:47.313+00:00', 'status': 500, 'error': 'Internal Server Error', 'message': 'timeout executing POST http://dc-service-chrg-asset-be/dc-service/v2/assets/search', 'path': '/charging/api/v1/wallbox/'}}}}], 'data': {'getRegisteredWallboxes': None}}, {'User-Agent': 'RivianApp/707 CFNetwork/1237 Darwin/20.4.0', 'Accept': 'application/json', 'Content-Type': 'application/json', 'Apollographql-Client-Name': 'com.rivian.ios.consumer-apollo-ios', 'Csrf-Token': '[redacted]', 'A-Sess': '[redacted]', 'U-Sess': '[redacted]', 'dc-cid': '[redacted]'}, {'operationName': 'getRegisteredWallboxes', 'query': 'query getRegisteredWallboxes {\n getRegisteredWallboxes {\n __typename\n wallboxId\n userId\n wifiId\n name\n linked\n latitude\n longitude\n chargingStatus\n power\n currentVoltage\n currentAmps\n softwareVersion\n model\n serialNumber\n maxAmps\n maxVoltage\n maxPower\n }\n}', 'variables': None})
Rivian api exception: (200, {'errors': [{'message': '500: Internal Server Error', 'locations': [{'line': 2, 'column': 3}], 'path': ['getRegisteredWallboxes'], 'extensions': {'code': 'INTERNAL_SERVER_ERROR', 'response': {'url': 'http://dc-service-chrg-user-cmd-be.charging/charging/api/v1/wallbox/?userId=[redacted]', 'status': 500, 'statusText': 'Internal Server Error', 'body': {'timestamp': '2025-09-08T07:43:45.495+00:00', 'status': 500, 'error': 'Internal Server Error', 'message': 'timeout executing POST http://dc-service-chrg-asset-be/dc-service/v2/assets/search', 'path': '/charging/api/v1/wallbox/'}}}}], 'data': {'getRegisteredWallboxes': None}}, {'User-Agent': 'RivianApp/707 CFNetwork/1237 Darwin/20.4.0', 'Accept': 'application/json', 'Content-Type': 'application/json', 'Apollographql-Client-Name': 'com.rivian.ios.consumer-apollo-ios', 'Csrf-Token': '[redacted]', 'A-Sess': '[redacted]', 'U-Sess': '[redacted]', 'dc-cid': '[redacted]'}, {'operationName': 'getRegisteredWallboxes', 'query': 'query getRegisteredWallboxes {\n getRegisteredWallboxes {\n __typename\n wallboxId\n userId\n wifiId\n name\n linked\n latitude\n longitude\n chargingStatus\n power\n currentVoltage\n currentAmps\n softwareVersion\n model\n serialNumber\n maxAmps\n maxVoltage\n maxPower\n }\n}', 'variables': None})
Traceback (most recent call last):
File "/config/custom_components/rivian/coordinator.py", line 83, in _async_update_data
resp = await self._fetch_data()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/rivian/coordinator.py", line 428, in _fetch_data
return await self.api.get_registered_wallboxes()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/rivian/rivian.py", line 354, in get_registered_wallboxes
return await self.__graphql_query(headers, url, graphql_json)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/site-packages/rivian/rivian.py", line 709, in __graphql_query
raise exception
File "/usr/local/lib/python3.13/site-packages/rivian/rivian.py", line 700, in __graphql_query
raise err_cls(response.status, response_json, headers, body)