#gmail fetch fails w/ code 500
1 messages · Page 1 of 1 (latest)
Hey, can you please share the reproducible steps? I was troubleshooting the issue and looks like the API call is being made to /api/toolkits_/gmail instead of /api/v3/toolkits/gmail
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 exc
tryna run this https://github.com/shlokkhemani/openpoke
in server/services/gmail
available for a quick call?
sure
To join the video meeting, click this link: https://meet.google.com/ssn-ujyr-row
Sure, shoot me a meet link if you need help
sure thanks
hey @floral saddle i couldn't fix it, would you mind helping https://meet.google.com/uau-ioph-hat
Sure, joining in 2