shhiv
10/02/2025, 6:39 AMcomposio_client.InternalServerError: Error code: 500 - {'error': {'message': 'Client error with internal service (POST): Bad Gateway', 'code': 1601, 'status': 500, 'request_id': '4b7b78d4b07b419daa0b9f2d67662c29', 'suggested_fix': ''}}
is there an outage from composio's side?abhishekpatil4
10/02/2025, 6:47 AM/api/toolkits_/gmail instead of /api/v3/toolkits/gmailshhiv
10/02/2025, 6:55 AMpy
def execute_gmail_tool(
tool_name: str,
composio_user_id: str,
*,
arguments: Optional[Dict[str, Any]] = None,
) -> Dict[str, Any]:
prepared_arguments: Dict[str, Any] = {}
if isinstance(arguments, dict):
for key, value in arguments.items():
if value is not None:
prepared_arguments[key] = value
prepared_arguments.setdefault("user_id", "me")
try:
client = _get_composio_client()
result = client.client.tools.execute(
tool_name,
user_id=composio_user_id,
arguments=prepared_arguments,
)
return _normalize_tool_response(result)
except Exception as exc:
logger.exception(
"gmail tool execution failed",
extra={"tool": tool_name, "user_id": composio_user_id},
)
raise RuntimeError(f"{tool_name} invocation failed: {exc}") from excshhiv
10/02/2025, 6:56 AMshhiv
10/02/2025, 6:59 AMabhishekpatil4
10/02/2025, 7:02 AMshhiv
10/02/2025, 7:02 AMabhishekpatil4
10/02/2025, 7:06 AMshhiv
10/02/2025, 7:06 AMshhiv
10/02/2025, 7:06 AMabhishekpatil4
10/02/2025, 7:12 AMshhiv
10/02/2025, 7:12 AMshhiv
10/02/2025, 8:33 AMComposio Support Agent (Public)
10/02/2025, 8:34 AMshhiv
10/02/2025, 8:34 AMshhiv
10/02/2025, 8:43 AMshhiv
10/02/2025, 8:47 AM