{"record":{"id":"2b67904d1c8318c8","repo":"multica-ai/multica","slug":"composio-toolkit-not-supported","errorCode":null,"errorMessage":"composio: toolkit not supported","messagePattern":"composio: toolkit not supported","errorType":"http","errorClass":"ErrToolkitNotSupported","httpStatus":400,"severity":"error","filePath":"server/internal/integrations/composio/service.go","lineNumber":37,"sourceCode":"\t\"fmt\"\n\t\"net/url\"\n\t\"strings\"\n\t\"sync\"\n\t\"time\"\n\n\tsdk \"github.com/multica-ai/multica/server/pkg/composio\"\n\n\t\"github.com/jackc/pgx/v5/pgtype\"\n\t\"github.com/multica-ai/multica/server/internal/util\"\n\tdb \"github.com/multica-ai/multica/server/pkg/db/generated\"\n)\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","sourceCodeStart":19,"sourceCodeEnd":55,"githubUrl":"https://github.com/multica-ai/multica/blob/2c0912b6ec764b373d44eeea1e80f0d9f11ab417/server/internal/integrations/composio/service.go#L19-L55","documentation":"Error \"composio: toolkit not supported\" thrown in multica-ai/multica.","triggerScenarios":"Thrown at server/internal/integrations/composio/service.go:37 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Choose a toolkit from the list of supported Composio toolkits."],"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"}