06-17-2015 17:31
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

06-17-2015 17:31
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello,
I'm using the FitBit4J-1.0.26 jar and I was trying to use List<FriendStats> friendsStatList = apiClientService.getClient().getFriendsLeaderboard... and on the return the error Error parsing json response to list of FriendStats... Caused by: org.json.JSONException: JSONObject["summary"] not found.
Apparently the return result isn't matching up to the expected return of List<FriendStats> or vice versa.
Interestingly testing with the API Explorer the returned Jason object dose contain "summary" data.
Has this been reported before? Are there plans to correct the issue? When will a correction be available?
Thanks Much,
Mr H.
06-18-2015 08:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

SunsetRunner
06-18-2015 08:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hi,
The Fitbit4J library is deprecated and we are no longer providing support for it. You are welcome to modify the source code (available on our Github) to address the issue. However we highly recommend that applications migrate to using any popular OAuth client in the language of your choice.

