> For the complete documentation index, see [llms.txt](https://docs.tryterra.co/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tryterra.co/faq/help-topics/no-data/webhooks-background-delivery-stopping/healthconnect-no-background-delivery.md).

# Why am I getting auth but no Health Connect data webhooks?

Whether Health Connect data flows automatically after authentication depends on the **scheduler**.

* With `schedulerOn = true` (the default on `initConnection`), the Android SDK uses **WorkManager** to periodically fetch new data and send it to your webhook **automatically**. Default intervals: activity every 20 minutes; daily/body/sleep/nutrition every 8 hours (configurable server-side).
* With `schedulerOn = false`, nothing is fetched automatically. Your app must explicitly call the getters (`getDaily`, `getSleep`, `getActivity`, etc.) with `toWebhook = true` to deliver payloads to your webhook.

If you have auth but no data webhooks, check the common gotchas:

* Confirm `schedulerOn` was `true` at `initConnection`, or that you are actually calling the getters.
* In release builds, code shrinking (R8/ProGuard) can strip the classes the SDK needs to query Health Connect. Add the Terra ProGuard keep rules.
* Build a custom dev client / EAS Build (not Expo Go), since the SDK is a native module.
* On reconnect, the SDK re-enqueues the WorkManager fetch jobs only if `schedulerOn` was enabled.

See the [Android SDK reference](https://docs.tryterra.co/reference/health-and-fitness-api/sdk-references/android-kotlin).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.tryterra.co/faq/help-topics/no-data/webhooks-background-delivery-stopping/healthconnect-no-background-delivery.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
