crewAIInc/crewAI · error · RuntimeError
No connected account found for app `{tool.app}`; Run `compos
Error message
No connected account found for app `{tool.app}`; Run `composio add {tool.app}` to fix this What it means
Error "No connected account found for app `{tool.app}`; Run `composio add {tool.app}` to fix this" thrown in crewAIInc/crewAI.
Source
Thrown at lib/crewai-tools/src/crewai_tools/tools/composio_tool/composio_tool.py:43
"""Run the composio action with given arguments."""
return self.composio_action(*args, **kwargs)
@staticmethod
def _check_connected_account(tool: t.Any, toolset: t.Any) -> None:
"""Check if connected account is required and if required it exists or not."""
from composio import Action
from composio.client.collections import ConnectedAccountModel
tool = t.cast(Action, tool)
if tool.no_auth:
return
connections = t.cast(
list[ConnectedAccountModel],
toolset.client.connected_accounts.get(),
)
if tool.app not in [connection.appUniqueId for connection in connections]:
raise RuntimeError(
f"No connected account found for app `{tool.app}`; "
f"Run `composio add {tool.app}` to fix this"
)
@classmethod
def from_action(
cls,
action: t.Any,
**kwargs: t.Any,
) -> te.Self:
"""Wrap a composio tool as crewAI tool."""
from composio import Action, ComposioToolSet
from composio.constants import DEFAULT_ENTITY_ID
from composio.utils.shared import json_schema_to_model
toolset = ComposioToolSet()
if not isinstance(action, Action):
action = Action(action)View on GitHub (pinned to 754d7323be)
Solutions
- Run `composio add <app>` to connect the account for the app.
- Check your Composio account for existing connected accounts.
When it happens
Trigger: Thrown at lib/crewai-tools/src/crewai_tools/tools/composio_tool/composio_tool.py:43 when the library encounters an invalid state.
Common situations: Occurs when no connected Composio account exists for the requested app. Run `composio add <app>` to connect the account before using the tool.
AI-assisted analysis of crewAIInc/crewAI@754d7323be (2026-08-15).
Data as JSON: /api/errors/ef2dfade3737cfae.
Report an issue: GitHub.