Skip to content
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

ignore badrequest errors for floors/elevation #25

Merged
merged 1 commit into from
Nov 17, 2015

Conversation

brad
Copy link
Member

@brad brad commented Nov 17, 2015

@grokcode @percyperez Please review.
According to a Fitbit employee it is expected that the API will return an HTTP 400 error for "floors" and "elevation" data when the user does not have a device with an altimeter. My simple workaround is to ignore these types of errors for these resource types. In real world testing, we see that we get the errors for the floors, tracker/floors, elevation, and tracker/elevation resource types.

@grokcode
Copy link
Contributor

@brad Looks like a good solution to me. :shipit:

@percyperez
Copy link
Contributor

LGTM too.

percyperez added a commit that referenced this pull request Nov 17, 2015
ignore badrequest errors for floors/elevation
@percyperez percyperez merged commit 92790c8 into master Nov 17, 2015
@percyperez percyperez deleted the ignore-bad-request branch November 17, 2015 22:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants