Brandawg93 / homebridge-nest-cam

View your Nest cams in HomeKit using Homebridge.
https://www.npmjs.com/package/homebridge-nest-cam
GNU General Public License v3.0
211 stars 27 forks source link

[Bug]: Token issue #550

Open GillesWi opened 1 year ago

GillesWi commented 1 year ago

Describe the bug

Access blocked: Nest’s request is invalid

Screenshot 2023-05-12 at 6 06 48 PM

Debug Output

You can’t sign in because Nest sent an invalid request. You can try again later, or contact the developer about this issue. Learn more about this error If you are a developer of Nest, see error details. Error 400: invalid_request

Steps to reproduce

  1. Downloading plugin
  2. Getting the token

Device Type

raspberry pi

iOS Version

/

Camera Types

Nest hello doorbell V1

Bug Persistence

Consistently

Last Working Version

V6.0.3

Ralk commented 1 year ago

Where you able to find a workaround for this?

GillesWi commented 1 year ago

Yes, you can use an older version that still uses the refresh token method. Or even easier, just copy this code below in your Nest cam json config. Just change the options to your options. To retrieve the token and cookies you can look in there docs are you can even use the Hoobs sidecar plugin on Google chrome for auto config :)

{ "googleAuth": { "issueToken": "YOUR_TOKEN_HERE", "cookies": "YOUR_COOKIES_HERE" }, "options": { "ffmpegCodec": "libx264", "alertCooldownRate": 180, }, "platform": "Nest-cam" }