A change Spriggit makes on a portal's service key shows in HubSpot's history as INTEGRATION under the key's own app ID, not Spriggit's OAuth app ID. Spriggit records the credential on each run op and ledger entry, and governance counts the active key's app ID as Spriggit's own, so drift checks don't report those changes as another integration's. Spriggit learns the key's app ID only from POST /oauth/v2/private-apps/get/access-token-info, which is unconfirmed for service keys (a made-up pat- key got 404); without it, governance can't tell the key's changes from an outside integration's.
Source pending
More facts from this area
- An invalid or mistyped
--accounton the HubSpot CLI silently uploads to the default account and still reports SUCCESS; check the account name in the success line.Measured - Composio's managed HubSpot OAuth app appears not to request the
forms,crm.lists.writeorsettings.users*scopes; a Composio auth config using your own HubSpot OAuth app is needed for those.Source pending - Composio's proxy-execute endpoint must be called on API v3.1; the proxy is disabled on v3.Source pending
- Composio's dedicated HubSpot workflow tools target the v3 workflows API, so Automation v4 flows go through
proxy_executeinstead.Source pending - On a portal with an active service key, Spriggit's web app, chat and MCP send each HubSpot request on the OAuth connection unless, in order: the caller names a credential (
via); the caller says which scopes the request needs and only the key holds one of them (needs); this process already saw OAuth refused and the key answer for the same portal, method and path template; or OAuth answers 403 withMISSING_SCOPESor the hidden-workflow message, and the request is retried once on the key (a 403 changed nothing, so writes retry too). A 401 from the key marks it expired or invalid, raises theservice_key_failedalert and returns OAuth's answer; any other error from the key is the request's answer. A portal without an active key never leaves OAuth.Source pending
Spriggit uses these facts when it plans changes. See something out of date? Email [email protected]