Hi everybody,
I’m trying to get the access token in order to integrate SmartThings into my Android app.
I can get the “CODE” from the previous step (Get Authorization Code), but when I try to get the access token the system always returns:
Oh No! Something Went Wrong! Error 500: Internal Server Error URI /oauth/token Reference Id f3d5078d-150a-4f74-ac58-7da27b2c0a4a Date Thu Aug 25 17:21:35 UTC 2016
read jsonOBJ value from the response of the system -> ERROR because I tried to get “token”, “expire” and also “REFRESH”. But I realized that SmartThings had no “refresh” field.
So the only value I currently get from SmartThings auth are: “token” and “expires”.
This solved my problem.