SmartThings Community

OAuth failure

I created a new app using the source code from https://github.com/SmartThingsCommunity/Code/blob/master/smartapps/tutorials/web-services-smartapps/smartapp/web-services-smartapp.groovy. However, whenever I try to oauth authorize, I get the error "Authorizing the selected devices failed; please try again later or contact support@smartthings.com”. Upon network inspection, I see there is a HTTP 500 with response: {“error”:true,“type”:“groovy.lang.GroovyRuntimeException”,“message”:"An unexpected error occurred.”} and there are no errors in Live Logging. The app works fine in simulation but I just can’t oauth authorize. However, I was able to a few weeks ago. Any help is greatly appreciated.

I figured out the solution was to publish the app for Me. I don’t recall having to do that previously but I’m glad it worked.

1 Like