06-28-2017 08:26
06-28-2017 08:26
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?
07-07-2017 07:57
07-07-2017 07:57
@blackbear Is that for any user you request? Would need to see the raw request you're making (and maybe examples of user IDs).