My notifications have not been working so when i checked my mobile app, it says “Click to enter Nest Credentials” so i do and this is what i get …
{“error”:true, “type”: “AccessDenied”, “message”: “You are not authorized to perform the requested operation.”}
I run into some problems. I follow the wiki to the teeth but for some reason, I am getting an error.
“Error: redirect_uri mismatch The redirect URI in the request, https://graph.api.smartthings.com/oauth/callback, does not match the ones authorized for the OAuth client.
Visit the Developer Console to update the authorized redirect URIs.”
I created my developer Nest account and copied Id and secret in settings under Smart Things APP.
Enabled Oauth
What should i put under Redirect URI: (optional)
Hopefully its something small. Appreciate your help.
You are entering the data into the wrong section. You are trying to enter it into the Oauth section but the client ID and secret should be entered into the settings section.
Oh no, I put id and secret into settings section. That part in Oauth section is greyed out. What I am trying to put in Oauth section is Redirect URI: (optional). But I don’t know which link goes there. I am just trying to follow the error that its showing me after i log in to Nest account in the phone app.
I see, But when i put nothing there I get this error in the app after Nest login attempt.
redirect_uri mismatch The redirect URI in the request, https://graph.api.smartthings.com/oauth/callback, does not match the ones authorized for the OAuth client.
Visit the Developer Console to update the authorized redirect URIs.”
That is why I was trying to fill in Redirect URI: (optional) under Oauth section.
Ran into an odd one today. I’m on the Gulf Coast of FL being hit by Alberto. Shortly after the 2PM update, NST manager started going crazy. Every 30 seconds, ST was throwing errors “Cannot remove device as it is in use …”. When I started chasing the logs, I found NST manager appears to be choking on the alerts issued associated with the Nest Weather device. Error in the log is:
2b2f96b5-1f9d-45d8-b081-8b7cab712543 3:18:05 PM: error getWeatherConditions Exception: physicalgraph.exception.StateCharacterLimitExceededException: State cannot be greater than 100000.0 characters @line 5629 (getWeatherConditions)
I would be fine with the weather/alerts not updating, but this has a trickle down effect & causes streaming to go offline and the struct data to NULL out. This cause NST manager to attempt to remove all Nest devices it believes are no longer associated.
I’ve worked around it temporarily by removing the Nest weather device, but thought I would pass the info along.
Same thing happened to me. I’m in Tampa FL and my NST manager started flipping out on me sending my wife and me multiple notifications every minute. I got the “cannot remove device…” message as well. Thank you for the fix!
Hoping someone smarter than me can help me get the private token working.
I created the Nest Developer Account and followed all the steps on the Wiki. After entering the the Product ID and Product Secret in the appropriate Settings fields in the IDE, I get the following error page after clicking update:
This isn’t a new NST Manager installation… I had it before, it stopped working to the token issue, and I’m trying to get it working again. I have the Oauth section in the IDE completed but not sure how that relates to this new ID and Secret in the Settings section. My NST Manager and Device Handlers have been updated to the latest.
Thanks in advance, and I apologize if this has already been asked before in this lengthy thread.
Just checking… you entered your client ID and secret in the right column? The field names are in the left column. Just asking because many users have attempted to enter the data in the left column over the field names.
Thanks for the reply, and yes they are in the “Value” column, to the right of the “Name” column.
In the Oauth section I tried to refresh the ID and secret to see if that would jog anything and got the same error page. It’s like I’m not allowed to make any edits to the Smartapp in the IDE.