Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

null response

We'd like to get user profile details (endpoint: https://api.fitbit.com/1/user/-/profile.json) but we are always getting this response and we don't understand why:

 

 

Response{code=200, message='OK', body='null', headers={null=HTTP/1.1 200 OK, Vary=Origin,Accept-Encoding, X-Android-Selected-Protocol=http/1.1, X-Android-Response-Source=NETWORK 200, Connection=keep-alive, CF-RAY=3761a12119f80df3-MAD, Fitbit-Rate-Limit-Reset=2381, X-Android-Sent-Millis=1498663218652, Content-Type=application/json;charset=UTF-8, Cache-control=no-cache, private, Fitbit-Rate-Limit-Limit=150, Date=Wed, 28 Jun 2017 15:20:19 GMT, Content-Language=en, Server=cloudflare-nginx, Fitbit-Rate-Limit-Remaining=150, Transfer-Encoding=chunked, X-Frame-Options=SAMEORIGIN, X-Android-Received-Millis=1498663219288}}

 

 

What could be wrong?

 

 

Best Answer
0 Votes
1 REPLY 1

@blackbear Is that for any user you request? Would need to see the raw request you're making (and maybe examples of user IDs).

Andrew | Community Moderator, Fitbit

What motivates you?

Best Answer