Invalid JSON from client.rb
Closed this issue · 2 comments
sarkonovich commented
This error started showing up for me earlier today:
JSON::ParserError: A JSON text must at least contain two octets!
from /Users/arkonovs/.rvm/gems/ruby-2.2.0/gems/json-1.8.2/lib/json/common.rb:155:in `initialize'
It seems like Hue added a redirect to:
https://client-eastwood-dot-hue-prod-us.appspot.com/api/nupnp
from
https://www.meethue.com/api/nupnp
I changed the address in client.rb and all is well again.
sarkonovich commented
This has been fixed in the Hue gem now.
zachfeldman commented
Good to hear! Thanks @sarkonovich for looking out.