Lybron / health-auto-export

This repository provides documentation for the API Export feature of Health Auto Export.
https://healthyapps.dev
112 stars 5 forks source link

[BUG] - Workout Automation Fails When No Data Is Available #17

Closed nickbar01234 closed 7 months ago

nickbar01234 commented 8 months ago

Describe the bug

On automation tab, manually sync workout on a time interval that includes days without workout. Instead of exporting data when available on the time interval, the request terminates.

Steps To Reproduce

I manually exported the data using Automations. My configuration:

I then selected a time interval that includes a day where I didn't work out. The error is reported at the bottom of the view.

Expected behavior

I expected that the sync would succeed and only include days where I worked out.

Screenshots

Interval that includes date without workout

IMG_357D771CC07D-1

Interval where I workout every day

IMG_C0D01FEB8112-1

iOS/watchOS (please complete the following information):

Additional context Add any other context about the problem here.

davidRFB commented 7 months ago

Hi ! I am having the exact same problem.

Lybron commented 7 months ago

Thanks for reporting. I'll have a look into this @nickbar01234

Lybron commented 7 months ago

I've released v8.0.13 to address this issue. You should no longer get an error when there is no data for a given date.

Please reopen if you continue to experience any issues related to this.