Ring: Error: 401 Client Error: Unauthorized for url

Yep, ring updated their API when they added 2FA.

1 Like

+1 here - just a reboot on 103.0 and Ring gone :frowning:

There is a potential fix in the works, as discussed in the link arsaboo shared above.

3 Likes

they send me an reply on the email, home assistant needs to partner up with ring to get this working again i hope the other PR is going to work.

1 Like

why contact Ring. they don’t want us to not use Ring app.

Yup, same here after a reboot.

As if I needed another reason to look at a different doorbell solution…

4 Likes

I moved to Halo ONE (gen2).
Sadly there isn’t a good alternative to the driveway/floodlight camera.

Hello @firstof9 and everyone. There is a PR already submitted by @xernaj that will address the issue. You can follow it at https://github.com/tchellomello/python-ring-doorbell/pull/143

3 Likes

Have just updated my to 103.2 and ring is not working at all now
Getting the following notification
Error: 403 Client Error: Forbidden for url: https://api.ring.com/clients_api/session
You will need to restart hass after fixing.

Just ran the temporary fix in the open github issues:

All works fine for me now.

Same for me as soon as I updated to 0.103 so are we sure is not the new HA version that is the issue here?

2019-12-20 14:09:45 ERROR (SyncWorker_16) [homeassistant.components.ring] Unable to connect to Ring service: 403 Client Error: Forbidden for url: https://api.ring.com/clients_api/session

We are sure.

3 Likes

It is Ring. They have changed something. It is co-incidence that it broke with the new version of HA - mine broke with no update, just a HA reboot. If you follow the link I posted above, there is a temporary fix.

1 Like

Well i’m not sure about that since it says:

& copying the contents of ring_doorbell to /srv/homeassistant/lib/python3.6/site-packages/ring_doorbell then removing the ring directory in custom_components & restarting HA

As i cannot find /srv/homeassistant/lib/python3.6/site-packages/ring_doorbell and I don’t have anything Ring in my custom components folder either.

I’d just sit tight for the fix to merge :wink:

Mine was in /srv/homeassistant/lib/python3.7/site-packages/ring_doorbell.

I will add I am running HA in a Python VirtEnv and not docker or HassIO.

I moved the existing files to a subfolder called ‘orig’ and then extracted the field to it, rebooted HA and Ring back :slight_smile:

No idea where the path is for Hassio, running it on a pi4. Anyone with a similar setup know the folder path?

If anyone has any update please share it… running Hassio on PI4

If you download this and drop it into custom_components should fix it: https://drive.google.com/file/d/1C41E7OlOUZLtXBHosV9U6HTlBWNN8Cxf/view?usp=sharing

Just did for me and I’m running hassio on a pi4