{"record":{"id":"ce59ffff5cc66df0","repo":"multica-ai/multica","slug":"composio-connected-account-verification-failed","errorCode":null,"errorMessage":"composio: connected account verification failed","messagePattern":"composio: connected account verification failed","errorType":"http","errorClass":"ErrAccountVerification","httpStatus":302,"severity":"error","filePath":"server/internal/integrations/composio/service.go","lineNumber":48,"sourceCode":")\n\n// Service-level errors surfaced to the handler layer.\nvar (\n\t// ErrToolkitNotSupported is returned by BeginConnect when the requested\n\t// toolkit has no enabled auth config in the Composio project, so there is\n\t// no auth_config_id to start a connect link with.\n\tErrToolkitNotSupported = errors.New(\"composio: toolkit not supported\")\n\t// ErrConnectNotSuccessful is returned by CompleteCallback when Composio\n\t// reported a non-success status — no active row is written.\n\tErrConnectNotSuccessful = errors.New(\"composio: connection was not successful\")\n\t// ErrConnectionNotFound is returned by Disconnect when the connection id\n\t// does not belong to the user (or does not exist).\n\tErrConnectionNotFound = errors.New(\"composio: connection not found\")\n\t// ErrAccountVerification is returned by CompleteCallback when the\n\t// connected_account_id carried on the callback cannot be confirmed (with\n\t// Composio) to belong to the user/auth-config named in the signed state —\n\t// i.e. a tampered or unknown account id. No local row is written.\n\tErrAccountVerification = errors.New(\"composio: connected account verification failed\")\n)\n\n// defaultStateTTL bounds how long a connect handshake may sit between\n// BeginConnect and the Composio callback. Five minutes is generous for a hosted\n// OAuth flow while keeping the replay window small.\nconst defaultStateTTL = 5 * time.Minute\n\n// defaultAuthCacheTTL bounds how long the resolved toolkit→auth-config map is\n// cached before a re-fetch from Composio. Short enough that enabling an auth\n// config in the dashboard reflects within minutes; long enough that a burst of\n// connect/list requests does not hammer /auth_configs.\nconst defaultAuthCacheTTL = 5 * time.Minute\n\n// maxAuthConfigPages / maxToolkitPages cap the paginated fetch-all loops so a\n// pathological or buggy upstream cursor cannot spin forever. At limit=1000 per\n// page these cover far more than any real project / catalog.\nconst (\n\tmaxAuthConfigPages  = 20","sourceCodeStart":30,"sourceCodeEnd":66,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/internal/integrations/composio/service.go#L30-L66","documentation":"Error \"composio: connected account verification failed\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/internal/integrations/composio/service.go:48 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the connected account in the Composio dashboard and retry the connection."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"2c0912b6ec764b373d44eeea1e80f0d9f11ab417","analyzedAt":"2026-08-15T13:25:18.241Z","schemaVersion":2},"datasetVersion":"2026-08-15T17:31:12.345Z"}