Closed austwhite closed 4 years ago
I'm getting the same error, started this morning.
I just tried installing this integration last night for the first time and saw the same errors in the logs as you have.
According to this thread: https://github.com/kiwiz/gkeepapi/issues/83, the issue appears to be Google rejecting requests with gkeepapi in the User Agent. It appears gkeepapi has been updated recently to fix this. Does anybody know how to update to the most recent gkeepapi. I'm not too familiar with python.
what do you all use this API for? @austwhite @remdot @yguns31
Does anybody know how to update to the most recent gkeepapi.
@yguns31 Assuming you installed with pip in the first place, you could do:
pip install --upgrade gkeepapi
@ChocoTonic I use the API for lists / google keep.
I can't use pip to update as I am using Home Assistant (Previously HASSIO) on a Raspberry Pi 3B+ and using HACS to install the this integration.
I noted the issue only seems to have started since updating Home Assistant, but I didn't check the logs much in 0.108.x. The latest HA's have had a lot of patches so I tend to wait for a bit before updating.
The latest version (0.11.14) of gkeepapi has fixed the issue. Changing the requirements in the manifest.json from "gkeepapi" to "gkeepapi==0.11.14" should allow the integration to work again.
@yguns31 I use Home Assistant (formerly Hassio). How did you change the API or is this something that still needs a permanent fix by the developer?
The latest version (0.11.14) of gkeepapi has fixed the issue. Changing the requirements in the manifest.json from "gkeepapi" to "gkeepapi==0.11.14" should allow the integration to work again.
@yguns31 Hi! I tried to do that, but it doesn't work...
@yguns31 Thanks, that fixed it for me.
I have upgraded used version of gkeepapi, it should fix this issue
Confirmed that bug is fixed
I have just started noticing this since updating to Home Assistant 0.109.x I am unsure if it was present before as I had not kept a close eye on the logs. Getting an error "Update for sensor sensor.google_keep_xxxxx fails" fairly regularly.
Any advice on what may be causing this?
Edit: Should have noted, I have installed the component via HACS and it is at version 1.0.0. HACS does not report any update available for the component.