Open sjakupovic opened 5 years ago
Same here
There was a recent thread on this topic that was resolved. Have you checked it out? https://github.com/openmhealth/shimmer/issues/110
Any updates on this? I am running into the same issue and #110 didn't quite lead me to the answer.
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?