homebridge-nest icon indicating copy to clipboard operation
homebridge-nest copied to clipboard

[Nest] { Error: UNAUTHORIZED:

Open travisjaymoore opened this issue 8 years ago • 5 comments

I'm in way over my head. Followed all the instructions to the letter, the JSON file checks out, but I'm getting this string of errors and have no idea what to do next. I double checked my ClientID, Client Secret and pulled another code from Nest. I even added the legacy username and password and still now luck.

screen shot 2017-10-30 at 4 56 13 pm

travisjaymoore avatar Oct 30 '17 23:10 travisjaymoore

I have the exact same error too. I did the same as you, generated another code just in case. config.json passes the checker as well. Maybe something has changed in the API. I noticed the docs here call out read/write v4 and in the developer sign on they have read/write v6.

gmaster12 avatar Nov 04 '17 03:11 gmaster12

Just figured it out. Make sure the token is EMPTY like so:

"token": "",

Before it had an example token in there. If you don't take it out it assumes that's the right one and you'll get an authorization failure. Regenerate a new Key then try again. Mine worked fine after emptying the token line.

gmaster12 avatar Nov 04 '17 03:11 gmaster12

That saved me! Thought it had something to do with write permissions, but it gladly didnt.

Thnx man!

remcovdwal avatar Nov 28 '17 12:11 remcovdwal

Yep, same issue caught me. Might warrant an update in the install guide?

larrybeck64 avatar Dec 08 '17 07:12 larrybeck64

Same issue here, above solved it for me. might be a good idea to add this to the installation doc

maartenvant avatar Jan 28 '18 19:01 maartenvant