05-26-2015 18:21 - edited 05-26-2015 18:22
05-26-2015 18:21 - edited 05-26-2015 18:22
Note that I have not changed the code base and everything was working as expected until a few days ago.
I'm using the rest api to grab users' body fat percentages and weights using the following url:
/user/-/body/log/weight/date/2015-04-26/2015-05-26.json
However, I am only receiving data from 2015-04-26 to 2015-05-12. This is my personal account and I track my weight/body fat every day using the Aria scale. The same thing happens when I try to use the:
/user/-/body/log/weight/date/2015-04-26/1m.json
notation. Very strange.
Any help in debugging the issue would be incredible as I currently only have my user account to test with.
Cheers!
Nate
Answered! Go to the Best Answer.
05-28-2015 18:35
05-28-2015 18:35
Hi @nater1067, unfortunately, I'm not able to reproduce this. With this endpoint, you'll only get logs that were made during the specified time period. Are you sure you that you have weight logs on those days?
You mentioned that you're only using your account, so I assume that you are using the correct access token for your specific user.
05-28-2015 18:35
05-28-2015 18:35
Hi @nater1067, unfortunately, I'm not able to reproduce this. With this endpoint, you'll only get logs that were made during the specified time period. Are you sure you that you have weight logs on those days?
You mentioned that you're only using your account, so I assume that you are using the correct access token for your specific user.
05-30-2015 18:57
05-30-2015 18:57
The access token is correct and I have data for those days. I'll try this with a friend's fitbit logs to see if it is a problem specific to my account. Thanks for the input. I think we can close this one.
06-01-2015 17:30
06-01-2015 17:30
We changed our router configuration at home so the Aria was not sending data to Fitbit. This is definitely not an issue with the Resource API. Thanks again for your time.
06-01-2015 17:51
06-01-2015 17:51
Glad you figured it out!