For the complete documentation index, see llms.txt. This page is also available as Markdown.

Why does Apple Health backfill return empty for a date range?

When a user first authorizes a new app for HealthKit, iOS may restrict access to some historical data even though the Health app shows it.

When a user first authorizes a new app for HealthKit, iOS may restrict access to some historical data even though the Health app shows it.

Have the user:

1

Go to Settings > Health > Data Access & Devices and find your app.

2

Toggle all data types off and back on.

3

Re-trigger the backfill.

If data does appear via the API but your query returns empty, check your date range and parameters, which is usually a query issue rather than missing data.

Last updated

Was this helpful?