-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dataset from undefined #31
Comments
I'm running into this same issue. |
Have you requested intraday data access from Fitbit? Although if you're only using your own personal account that may not matter. |
According to fitbit, as a personal app, we don't need to. https://community.fitbit.com/t5/Web-API-Development/Intraday-data-now-immediately-available-to-personal-apps/td-p/1014524 |
Have you tried the other intraday script? |
I believe I tried them both, I will retry both of them now just to make sure. |
Tried again quickly at work, screwed something up where I got 'OAuth2 is not defined' I'll try again later this afternoon. Gotta prep for a meeting... |
Also, are you sure there's data during the time period you're testing? |
Yes. I've pulled data with another app. |
I'm running into just the same problem! I'll break down some of the troubleshooting I've done so far on intraday_all.gs:
I'm guessing that this means the account is not delivering intraday data for some reason. It's a bit puzzling, since I'm set up as a personal app and it's supposed to grant access to intraday data immediately. I'm going to ask FitBit support about this, but do you all have any thoughts on this? |
Have you tried intraday or just intraday_all? |
I've tried both, and now that I think on it again, intraday has both "activities-heart" and "activities-heart-intraday" keys in its fetch, and works fine on the same account, so it must not be the permissions. The fetch commands that retrieve these different results differ only in their URL strings:
versus
I tried simply switching out the string from intraday for the one in intraday_all - wish it were that simple, but the error persists! |
I'll be glad to test anything, just let me know what I can do to help. I work in IT so I have access to a code editor all day long at work. 👍 |
Hello,
I tried intraday and interday and they worked very weel but whenI run the intraday_all I got this message "TypeError: Unable to read dataset property from undefined" any idea ?
Thanks by advance
The text was updated successfully, but these errors were encountered: