I'm trying to get the REST Sensor to work with Nest, using Postman it works perfectly. I have the Authorisation code and the URL. With PRTG I get "expected status 200 OK but got 401 Unauthorized.". From reading the nest site this is likely to be that PRTG isn't following the redirect URL given back to it for the initial response.
https://developer-api.nest.com/devices/thermostats is the URL Sending either Authorisation settings or a custom header with the Bearer code fails.
https://developers.nest.com/reference/error-messages towards the bottom (under 401) implies Nest are using redirection: https://developers.nest.com/guides/api/how-to-handle-redirects supports this.
Does the REST sensor follow redirects? And is there a way of making this work?
Thanks!
Add comment