{"record":{"id":"de2010c55295730e","repo":"home-assistant/core","slug":"unknown-error-occurred","errorCode":null,"errorMessage":"Unknown error occurred","messagePattern":"Unknown error occurred","errorType":"exception","errorClass":"UpdateFailed","httpStatus":null,"severity":"error","filePath":"homeassistant/components/arve/coordinator.py","lineNumber":64,"sourceCode":"        )\n\n    @override\n    async def _async_update_data(self) -> dict[str, ArveDeviceInfo]:\n        \"\"\"Fetch data from API endpoint.\"\"\"\n        try:\n            self.devices = await self.arve.get_devices()\n\n            response_data = {\n                sn: ArveDeviceInfo(\n                    await self.arve.device_sensor_data(sn),\n                    await self.arve.get_sensor_info(sn),\n                )\n                for sn in self.devices.sn\n            }\n        except ArveConnectionError as err:\n            raise UpdateFailed(\"Unable to connect to the Arve device\") from err\n        except ArveError as err:\n            raise UpdateFailed(\"Unknown error occurred\") from err\n\n        return response_data\n","sourceCodeStart":46,"sourceCodeEnd":67,"githubUrl":"https://github.com/home-assistant/core/blob/58a3fdb3ea0538617f0a07efcfba6294de64fd59/homeassistant/components/arve/coordinator.py#L46-L67","documentation":"UpdateFailed('Unknown error occurred') raised by the Arve coordinator when pyarve raises a generic ArveError that is not ArveConnectionError (e.g. malformed response, unexpected payload, or library-level failure). It is a catch-all: the chained exception (raise ... from err) carries the real cause.","triggerScenarios":"get_devices() returns an unexpected payload shape, device_sensor_data(sn) or get_sensor_info(sn) raise a non-connection ArveError for a serial number that is listed but unreachable/misbehaving.","commonSituations":"Arve API contract change breaking pyarve parsing; device removed on the Arve side but still in the devices.sn list; pyarve version mismatch with the deployed API.","solutions":["Enable debug logging for homeassistant.components.arve and inspect the chained ArveError for the concrete cause.","Update pyarve to the latest version (dependencies can lag API changes).","Verify all serial numbers returned by get_devices still exist in your Arve account.","Reload or re-create the config entry after fixing the underlying issue."],"exampleFix":null,"handlingStrategy":"try-catch","validationCode":null,"typeGuard":null,"tryCatchPattern":"Catch ArveError (after ArveConnectionError) and always chain with 'from err' plus debug logging so the underlying library exception is preserved for diagnosis.","preventionTips":["Keep pyarve updated alongside HA core releases.","Log chained causes at debug for unknown-subclass errors.","Validate that device serial numbers returned by get_devices are usable before building per-device requests."],"tags":["home-assistant","arve","coordinator","api-error","diagnostics"],"backgroundTag":null,"analyzedSha":"58a3fdb3ea0538617f0a07efcfba6294de64fd59","analyzedAt":"2026-08-14T20:54:38.818Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}