{"record":{"id":"b573250fa75cb4b7","repo":"home-assistant/core","slug":"failed-clip","errorCode":"failed_clip","errorMessage":"Blink failed to record a clip.","messagePattern":"Blink failed to record a clip\\.","errorType":"exception","errorClass":"HomeAssistantError","httpStatus":null,"severity":"error","filePath":"homeassistant/components/blink/camera.py","lineNumber":127,"sourceCode":"\n    @property\n    @override\n    def motion_detection_enabled(self) -> bool:\n        \"\"\"Return the state of the camera.\"\"\"\n        return self._camera.arm\n\n    @property\n    @override\n    def brand(self) -> str | None:\n        \"\"\"Return the camera brand.\"\"\"\n        return DEFAULT_BRAND\n\n    async def record(self) -> None:\n        \"\"\"Trigger camera to record a clip.\"\"\"\n        try:\n            await self._camera.record()\n        except TimeoutError as er:\n            raise HomeAssistantError(\n                translation_domain=DOMAIN,\n                translation_key=\"failed_clip\",\n            ) from er\n        except UnauthorizedError as er:\n            self.coordinator.config_entry.async_start_reauth(self.hass)\n            raise ConfigEntryAuthFailed(\"Blink authorization failed\") from er\n\n        self.async_write_ha_state()\n\n    async def trigger_camera(self) -> None:\n        \"\"\"Trigger camera to take a snapshot.\"\"\"\n        try:\n            await self._camera.snap_picture()\n        except TimeoutError as er:\n            raise HomeAssistantError(\n                translation_domain=DOMAIN,\n                translation_key=\"failed_snap\",\n            ) from er","sourceCodeStart":109,"sourceCodeEnd":145,"githubUrl":"https://github.com/home-assistant/core/blob/58a3fdb3ea0538617f0a07efcfba6294de64fd59/homeassistant/components/blink/camera.py#L109-L145","documentation":"blink camera.record raises HomeAssistantError with key 'failed_clip' ('Blink failed to record a clip.') when the blinkpy camera.record() call times out. The command to start a clip recording on the camera did not get a timely response from the Blink cloud; the entity state is not rewritten.","triggerScenarios":"Triggering the record clip service/action on a Blink camera while Blink cloud is slow, the camera is offline or asleep, or the HA host has upstream network problems.","commonSituations":"Manual or automation-driven clip triggers during Blink outages; battery cameras in sleep state; recordings requested in quick succession.","solutions":["Retry the record trigger once the camera is confirmed online.","Space out consecutive record triggers — Blink does not stack clips.","Check Blink cloud status and local internet if it persists."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":"from homeassistant.exceptions import HomeAssistantError\n\ntry:\n    await camera.record()\nexcept HomeAssistantError as err:\n    if err.translation_key == \"failed_clip\":\n        _LOGGER.warning(\"Clip trigger timed out; camera may be asleep\")","preventionTips":["Do not fire consecutive record triggers; Blink cannot stack clips.","Ensure the camera is online before recording."],"tags":["home-assistant","blink","camera","recording","timeout"],"backgroundTag":null,"analyzedSha":"58a3fdb3ea0538617f0a07efcfba6294de64fd59","analyzedAt":"2026-08-14T20:54:38.818Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}