Some platforms give etlmcp access that cannot renew itself: when it runs out, only a person signing in again can restore it. For those connections etlmcp checks every day for access that is about to end. It emails your organization's owners once before the end date, and again when the access has run out and the connection needs reconnecting. Reconnect before the date in the first email and your syncs carry on without a gap.
Which connections expire
Most platforms hand etlmcp a refresh token, which it uses to get new access by itself. Two cases have no such token:
- Meta. Meta gives etlmcp no refresh token. When the Meta connector is available, connecting it swaps the short-lived login token for a long-lived one and records when that token ends. Meta's guide to long-lived tokens says such a user token lasts about 60 days, and that a token which has already expired cannot be swapped again: the person has to log in once more.
- LinkedIn, for some apps. LinkedIn's documentation says programmatic refresh tokens are offered to approved Marketing Developer Platform partners, that access tokens last 60 days by default and that refresh tokens last a year. When the LinkedIn connector is available, etlmcp accepts a LinkedIn connection that came without a refresh token, records when its access ends, and treats it like a Meta one. A LinkedIn connection that holds a refresh token renews itself, so the daily check skips it.
TikTok also gives no refresh token, but when that connector is available etlmcp records no end date for a TikTok connection, so the daily check never warns about one. A TikTok connection needs reconnecting only if TikTok starts refusing its access.
Each connector's own page covers the rest of its setup: Meta, LinkedIn and TikTok.
The two emails
The check runs once a day and covers every connection that is still working and has an end date coming up.
- The warning. When a connection's access ends soon, every member with the owner role gets an email titled
Your {…} connection expires on {…}, with the platform name and the end date. It names the login and the organization, and the workspace when the organization has several. Each connection is warned about once. If no owner could be emailed, the next day's check tries again. - The reconnect notice. On the first daily check after the end date, etlmcp marks the connection, and every source of it that is not already lost, as needing a reconnect, with the reason
access has expired, and the owners get an email titledReconnect {…}. Scheduled syncs of those sources stop until someone reconnects, then resume by themselves.
The same reconnect email goes out, once, when a platform refuses a connection's access during a sync for another reason, such as a revoked permission. The sources then show the reason access was revoked or has expired. A failure of this kind is not retried; see retries.
Only owners receive these emails. Members with other roles see the state on the sources page. The email reference lists every email etlmcp sends.
Reconnecting
On the sources page, a connection that will run out shows the note "access ends" with its date, next to a Reconnect button when the platform is available. Press it any time before the date. Reconnecting stores the new access and its new end date, and clears the earlier warning, so you are warned again before the next end date.
Reconnect with the same platform login that made the connection. A reconnect made as a different platform user changes nothing, and the page tells you to Reconnect with the original login. After a reconnect that works, etlmcp checks every source of the connection against the platform again and shows Reconnected. Its sources are back in order. An ad account the login can no longer see stays marked as lost rather than coming back; the account picker page covers choosing accounts.