#gmail fetch fails w/ code 500

1 messages · Page 1 of 1 (latest)

hallow summit
#
composio_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?
floral saddle
hallow summit
# floral saddle Hey, can you please share the reproducible steps? I was troubleshooting the issu...
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
#

in server/services/gmail

floral saddle
#

available for a quick call?

hallow summit
#

sure

floral saddle
hallow summit
#

actually just give me a second

#

lemme try something

floral saddle
#

Sure, shoot me a meet link if you need help

hallow summit
#

sure thanks

hallow summit
#

hey @floral saddle i couldn't fix it, would you mind helping https://meet.google.com/uau-ioph-hat

fiery sandalBOT
#

Sure, joining in 2

hallow summit
#

awesome thanks

#

log_dISBSRnwrQfx