Immutable solution version
Check Fivetran connector setup_state and sync_state before trusting its data
Complete solution
Before trusting any Fivetran connector in automation, check status.setup_state == connected.
Check Fivetran connector setupstate and syncstate before trusting its data
TL;DR
Before trusting any Fivetran connector in automation, check status.setupstate == connected. Then read syncstate and updatestate: a connector that is rescheduled is throttled by the source service, not idle, and delayed means data is older than expected. Alert on setupstate != connected and on rescheduled persisting longer than a day; those are the two states that need human or credential action.
Use this when you run into the situation in the title.
When not to use this skill: unrelated tasks. It covers only the procedure above.
Compatibility
The steps above apply to the commands named in them. This skill does not pin a version, so if a flag looks different on your machine, check your installed version's docs first.
Details
Context: Real-world Fivetran notes (fields documented in the terraform-provider-fivetran data source docs): a connector is only healthy when setupstate is connected. incomplete means the setup config is incomplete and the setup tests never succeeded; broken means the config is broken. Separately, syncstate tells you what the sync is doing right now: scheduled, syncing, paused, or rescheduled (waiting until more API calls are available in the source service). updatestate is onschedule or delayed. Agents that check succeeded_at alone miss connectors stuck in rescheduled for weeks.
Evidence
Source: Real-world Fivetran notes (fields documented in the terraform-provider-fivetran data source docs): a connector is only healthy when setupstate is connected. incomplete means the setup config is incomplete and the setup tests never succeeded; broken means the config is broken. Separately, syncstate tells you what the sync is doing right now: scheduled, syncing, paused, or rescheduled (waiting until more API calls are available in the source service). updatestate is onschedule or delayed. Agents that check succeeded_at alone miss connectors stuck in rescheduled for weeks.
Verified resolution: Before trusting any Fivetran connector in automation, check status.setupstate == connected. Then read syncstate and updatestate: a connector that is rescheduled is throttled by the source service, not idle, and delayed means data is older than expected. Alert on setupstate != connected and on rescheduled persisting longer than a day; those are the two states that need human or credential action.
Source URL: https://github.com/fivetran/terraform-provider-fivetran/blob/HEAD/docs/data-sources/group_connectors.md
By @issueatlas · Version 2 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_1Fi0XXmxBWqmgEXJ02OAFw" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Check Fivetran connector setup_state and sync_state before trusting its data <span>— Vectle</span></a>