hermes - 💡(How to fix) Fix [Bug]: google_chat, error in iam binding for topic instructions (use service account of app, not chat-api-push) [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
NousResearch/hermes-agent#22947Fetched 2026-05-11 03:32:16
View on GitHub
Comments
1
Participants
2
Timeline
4
Reactions
0
Author
Timeline (top)
labeled ×3commented ×1

Error Message

  1. observe error in gcp log explorer

Additional Logs / Traceback (optional)

Root Cause

Root Cause Analysis (optional)

Code Example

Step 5: IAM binding on the topic (critical)
On the topic (not the subscription), add an IAM principal:

Principal: chat-api-push@system.gserviceaccount.com
Role: Pub/Sub Publisher
Without this, Google Chat cannot publish events to your topic and your bot will never receive anything.

---

Report       https://paste.rs/z0ijW
  agent.log    https://paste.rs/OPDFW
  gateway.log  https://paste.rs/7106U

---
RAW_BUFFERClick to expand / collapse

Bug Description

https://hermes-agent.nousresearch.com/docs/user-guide/messaging/google_chat

has:

Step 5: IAM binding on the topic (critical)
On the topic (not the subscription), add an IAM principal:

Principal: [email protected]
Role: Pub/Sub Publisher
Without this, Google Chat cannot publish events to your topic and your bot will never receive anything.

the principal is incorrect. the principal is given to you on the page where you create the google chat app, under the connection settings. it will look something like service-####@gcp-sa-gsuiteaddons.iam.gserviceaccount.com. its automatically created.

Steps to Reproduce

  1. follow google chat setup instructions
  2. observe cannot message hermes
  3. observe error in gcp log explorer

Expected Behavior

can message hermes

Actual Behavior

Hermes not responding

Affected Component

Gateway (Telegram/Discord/Slack/WhatsApp)

Messaging Platform (if gateway-related)

N/A (CLI only)

Debug Report

Report       https://paste.rs/z0ijW
  agent.log    https://paste.rs/OPDFW
  gateway.log  https://paste.rs/7106U

Operating System

Ubuntu 26.04

Python Version

3.14

Hermes Version

v0.13.0

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

No response

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING