core: Invalid access token when attempt to add Blink integration

The problem

When attempt to add Blink integration, after entering my email address and Blink password, and after entering the verification PIN from received email: image I get: image

Environment

  • Home Assistant Core release with the issue: 2020.12.1
  • Last working Home Assistant Core release (if known): This is my first time using.
  • Operating environment (OS/Container/Supervised/Core): Docker Container on Synology NAS
  • Integration causing this issue: Blink
  • Link to integration documentation on our website: https://www.home-assistant.io/integrations/blink/

Problem-relevant configuration.yaml


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Text to speech
tts:
  - platform: google_translate

group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml

Traceback/Error logs

2020-12-22 18:44:02 ERROR (SyncWorker_5) [blinkpy.auth] Did not receive valid response from server.
2020-12-22 18:51:30 ERROR (SyncWorker_0) [blinkpy.auth] Did not receive valid response from server.

Additional information

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 30 (8 by maintainers)

Most upvoted comments

I ran into this issue myself, and I believe I’ve found the solution: https://github.com/home-assistant/core/pull/44769

Thanks that’s super helpful! I’ll have to see if the unloading of the blink config entry is the culprit then. I thought I had a test to cover that to make sure it’s working properly but maybe there’s something else going on I missed. Seems like that’s the common thread (deleting and then re-enabling)

To debug this further, I installed blinkpy on a separate computer and it worked… So I can rule out any Blink account specific issues. So perhaps it is my hass config - but no idea how to debug this further.

#pip3 install blinkpy
#python3
>>> from blinkpy.blinkpy import Blink
>>> blink = Blink()
>>> blink.start()
Username: myemail@domain.com
Password:
Enter code sent to myemail@domain.com: xxxxxx
True
>>> for name, camera in blink.cameras.items():
...   print(name)
...
Garage
Porch Doors
Backyard
Front Door
Blink Camera
>>>