home-assistant/core · error · ConfigEntryAuthFailed
Blink authorization failed
Error message
Blink authorization failed
What it means
In blink camera.async_enable_motion_detection, an UnauthorizedError from camera.async_arm(True) triggers async_start_reauth on the config entry and raises ConfigEntryAuthFailed('Blink authorization failed'). The stored Blink token was rejected, so the motion-enable command cannot proceed and HA switches the entry to reauth-pending.
Source
Thrown at homeassistant/components/blink/camera.py:88
@property
@override
def extra_state_attributes(self) -> Mapping[str, Any] | None:
"""Return the camera attributes."""
return self._camera.attributes
@override
async def async_enable_motion_detection(self) -> None:
"""Enable motion detection for the camera."""
try:
await self._camera.async_arm(True)
except TimeoutError as er:
raise HomeAssistantError(
translation_domain=DOMAIN,
translation_key="failed_arm",
) from er
except UnauthorizedError as er:
self.coordinator.config_entry.async_start_reauth(self.hass)
raise ConfigEntryAuthFailed("Blink authorization failed") from er
self._camera.motion_enabled = True
await self.coordinator.async_refresh()
@override
async def async_disable_motion_detection(self) -> None:
"""Disable motion detection for the camera."""
try:
await self._camera.async_arm(False)
except TimeoutError as er:
raise HomeAssistantError(
translation_domain=DOMAIN,
translation_key="failed_disarm",
) from er
except UnauthorizedError as er:
self.coordinator.config_entry.async_start_reauth(self.hass)
raise ConfigEntryAuthFailed("Blink authorization failed") from er
View on GitHub (pinned to 58a3fdb3ea)
Solutions
- Follow the reauth prompt for the Blink integration entry.
- Remove and reconfigure the Blink integration if reauth loops.
- Confirm credentials work in the Blink app.
- Update Home Assistant core for current blinkpy auth support.
Defensive patterns
Strategy: try-catch
Try / catch
from homeassistant.exceptions import ConfigEntryAuthFailed
try:
await camera.async_enable_motion_detection()
except ConfigEntryAuthFailed:
notify_user("Blink session expired — complete reauth") Prevention
- Resolve Blink reauth prompts immediately; every camera action fails while the token is bad.
- Keep credentials stable and HA updated.
When it happens
Trigger: Enabling motion detection with an expired/revoked Blink token — password changed, session revoked, or Blink auth API changes not handled by the installed blinkpy version.
Common situations: Aged token on a long-running instance; password rotation; multiple active sessions causing revocation; outdated HA core / blinkpy.
Related errors
AI-assisted analysis of home-assistant/core@58a3fdb3ea (2026-08-14).
Data as JSON: /api/errors/b6bc6770d4974167.
Report an issue: GitHub.