You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After successfully configuring the Google Fit shim I’ve tried to do the same with Fitbit, but I’m having trouble with authenticating the API. After being granting permission as an user and being redirected back to my localhost console page I get this json message:
After that I tried to do do a request to get heart rate data or any other data, but I get an error message "org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.openmhealth.shim.ShimException: A request for Fitbit data has failed."
I think my authentication was not successful and therefore not being able to do requests to get data
Any suggestions on how to fix this or get more info on the where the problem might be?
The text was updated successfully, but these errors were encountered:
sjakupovic
changed the title
Probrem with fitbit authentication
Problem with fitbit authentication
Mar 7, 2019
After successfully configuring the Google Fit shim I’ve tried to do the same with Fitbit, but I’m having trouble with authenticating the API. After being granting permission as an user and being redirected back to my localhost console page I get this json message:
{"type":"AUTHORIZED","details":null,"accessParameters":{"id":"[my-id]","username":"user1","shimKey":"fitbit","clientId":null,"clientSecret":null,"accessToken":null,"tokenSecret":null,"stateKey":"[my-state-key]","dateCreated":"2019-03-07T10:19:13.731","serializedToken":"[my-token]","additionalParameters":{}},"requestParameters":{"redirect_url":null}}
I’m not sure if this is a good sign or not.
After that I tried to do do a request to get heart rate data or any other data, but I get an error message
"org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.openmhealth.shim.ShimException: A request for Fitbit data has failed."
I think my authentication was not successful and therefore not being able to do requests to get data
Any suggestions on how to fix this or get more info on the where the problem might be?
The text was updated successfully, but these errors were encountered: