{"record":{"id":"ef2dfade3737cfae","repo":"crewAIInc/crewAI","slug":"no-connected-account-found-for-app-tool-app-r","errorCode":null,"errorMessage":"No connected account found for app `{tool.app}`; Run `composio add {tool.app}` to fix this","messagePattern":"No connected account found for app `(.+?)`; Run `composio add (.+?)` to fix this","errorType":"exception","errorClass":"RuntimeError","httpStatus":null,"severity":"error","filePath":"lib/crewai-tools/src/crewai_tools/tools/composio_tool/composio_tool.py","lineNumber":43,"sourceCode":"        \"\"\"Run the composio action with given arguments.\"\"\"\n        return self.composio_action(*args, **kwargs)\n\n    @staticmethod\n    def _check_connected_account(tool: t.Any, toolset: t.Any) -> None:\n        \"\"\"Check if connected account is required and if required it exists or not.\"\"\"\n        from composio import Action\n        from composio.client.collections import ConnectedAccountModel\n\n        tool = t.cast(Action, tool)\n        if tool.no_auth:\n            return\n\n        connections = t.cast(\n            list[ConnectedAccountModel],\n            toolset.client.connected_accounts.get(),\n        )\n        if tool.app not in [connection.appUniqueId for connection in connections]:\n            raise RuntimeError(\n                f\"No connected account found for app `{tool.app}`; \"\n                f\"Run `composio add {tool.app}` to fix this\"\n            )\n\n    @classmethod\n    def from_action(\n        cls,\n        action: t.Any,\n        **kwargs: t.Any,\n    ) -> te.Self:\n        \"\"\"Wrap a composio tool as crewAI tool.\"\"\"\n        from composio import Action, ComposioToolSet\n        from composio.constants import DEFAULT_ENTITY_ID\n        from composio.utils.shared import json_schema_to_model\n\n        toolset = ComposioToolSet()\n        if not isinstance(action, Action):\n            action = Action(action)","sourceCodeStart":25,"sourceCodeEnd":61,"githubUrl":"https://github.com/crewAIInc/crewAI/blob/754d7323beb2fd042e33444a115ea2d5a47193f0/lib/crewai-tools/src/crewai_tools/tools/composio_tool/composio_tool.py#L25-L61","documentation":"Error \"No connected account found for app `{tool.app}`; Run `composio add {tool.app}` to fix this\" thrown in crewAIInc/crewAI.","triggerScenarios":"Thrown at lib/crewai-tools/src/crewai_tools/tools/composio_tool/composio_tool.py:43 when the library encounters an invalid state.","commonSituations":"Occurs when no connected Composio account exists for the requested app. Run `composio add <app>` to connect the account before using the tool.","solutions":["Run `composio add <app>` to connect the account for the app.","Check your Composio account for existing connected accounts."],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"754d7323beb2fd042e33444a115ea2d5a47193f0","analyzedAt":"2026-08-15T04:06:56.746Z","schemaVersion":2},"datasetVersion":"2026-08-15T22:17:37.221Z"}