openclaw - 💡(How to fix) Fix [Bug]: Google Chat inbound webhook broken in v2026.3.24 (google-auth-library downgrade regression) [1 comments, 1 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
openclaw/openclaw#55417Fetched 2026-04-08 01:39:46
View on GitHub
Comments
1
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
closed ×1commented ×1locked ×1

Google Chat inbound webhook processing is broken in v2026.3.24. The channel starts without errors and the webhook endpoint accepts requests (returns 401 for invalid JWTs), but no inbound messages from Google Chat spaces or DMs are processed. Downgrading to v2026.3.13 immediately restores functionality with the same configuration.

Root Cause

Root cause investigation

Fix Action

Fix / Workaround

  1. The gaxios-fetch-compat layer only patches the top-level [email protected] (resolved via createRequire(import.meta.url).resolve("gaxios")). The nested [email protected] inside google-auth-library is never patched, which may cause silent JWT verification failures.
  • Severity: High — complete loss of Google Chat inbound messaging
  • Affected: All Google Chat webhook users on v2026.3.24
  • Workaround: Pin to v2026.3.13 (npm install -g [email protected])

Either:

  1. Upgrade google-auth-library back to 10.x in the v2026.3.25 dependency tree
  2. Extend installGaxiosFetchCompat() to also patch nested gaxios instances (e.g. walk node_modules or hook require/import)
  3. Ensure the bundled Google Chat extension code is compatible with [email protected]

Code Example

{
  "googlechat": {
    "enabled": true,
    "webhookPath": "/googlechat",
    "audienceType": "app-url",
    "audience": "https://example.com/googlechat",
    "serviceAccountFile": "/path/to/service-account.json"
  }
}
RAW_BUFFERClick to expand / collapse

Summary

Google Chat inbound webhook processing is broken in v2026.3.24. The channel starts without errors and the webhook endpoint accepts requests (returns 401 for invalid JWTs), but no inbound messages from Google Chat spaces or DMs are processed. Downgrading to v2026.3.13 immediately restores functionality with the same configuration.

Steps to reproduce

  1. Run OpenClaw v2026.3.13 with Google Chat configured (webhook mode, audienceType: "app-url")
  2. Confirm Google Chat inbound messages work (DMs and spaces)
  3. Update to v2026.3.24 (npm install -g [email protected])
  4. Restart the gateway
  5. Google Chat inbound messages stop being processed — zero log entries for incoming messages
  6. Downgrade back to v2026.3.13 — immediately works again

Expected behavior

Google Chat inbound webhook messages should be received and processed identically to v2026.3.13.

Actual behavior

  • Channel starts normally: [googlechat] [default] starting Google Chat webhook — no errors
  • Webhook endpoint is live and returns HTTP 401 for unauthenticated test POSTs (correct)
  • But real Google Chat messages produce zero log output — no auth errors, no processing, complete silence
  • Outbound messaging (sending TO Google Chat via the message tool) works fine on v2026.3.24

Root cause investigation

I traced the regression to a google-auth-library version change between releases:

Versiongoogle-auth-librarygaxiosGoogle Chat status
v2026.3.1310.6.27.x (bundled)✅ Working
v2026.3.249.15.17.1.4 + nested 6.7.1❌ Broken

Key findings:

  1. v2026.3.24 downgraded google-auth-library from 10.6.2 to 9.15.1 — this older version brings its own nested [email protected] under node_modules/google-auth-library/node_modules/gaxios/

  2. The gaxios-fetch-compat layer only patches the top-level [email protected] (resolved via createRequire(import.meta.url).resolve("gaxios")). The nested [email protected] inside google-auth-library is never patched, which may cause silent JWT verification failures.

  3. Manually upgrading google-auth-library to 10.6.2 inside v2026.3.24's node_modules causes an OOM crash (RegExp compilation failure), indicating the bundled code has hard assumptions about the 9.15.1 API surface.

  4. In v2026.3.13, [email protected] uses the shared top-level gaxios (no nested copy), so the compat layer covers all fetch paths.

Environment

  • OpenClaw version: 2026.3.24 (broken) / 2026.3.13 (working)
  • OS: Debian 14 (Linux 6.19.8, x64)
  • Node.js: v22.22.1
  • Install method: npm global
  • Google Chat config:
{
  "googlechat": {
    "enabled": true,
    "webhookPath": "/googlechat",
    "audienceType": "app-url",
    "audience": "https://example.com/googlechat",
    "serviceAccountFile": "/path/to/service-account.json"
  }
}
  • Webhook delivery: via Cloudflare Tunnel (same tunnel config works on v2026.3.13)

Impact

  • Severity: High — complete loss of Google Chat inbound messaging
  • Affected: All Google Chat webhook users on v2026.3.24
  • Workaround: Pin to v2026.3.13 (npm install -g [email protected])

Related issues

  • #23402 — Google Chat silent crash-loop (v2026.2.21, abortSignal — different root cause)
  • #13856 — Space webhook events not received (v2026.2.9 — different root cause)
  • #33370 — DM replies create threads (v2026.3.2 — replyToMode — different issue)

Suggested fix

Either:

  1. Upgrade google-auth-library back to 10.x in the v2026.3.25 dependency tree
  2. Extend installGaxiosFetchCompat() to also patch nested gaxios instances (e.g. walk node_modules or hook require/import)
  3. Ensure the bundled Google Chat extension code is compatible with [email protected]

extent analysis

Fix Plan

To resolve the Google Chat inbound webhook processing issue in v2026.3.24, we will upgrade google-auth-library back to 10.x in the dependency tree. Here are the steps:

  • Update package.json to include the following dependency:
"dependencies": {
  "google-auth-library": "^10.6.2"
}
  • Run npm install to update the dependencies.
  • Alternatively, you can use the following command to update the dependency:
npm install google-auth-library@^10.6.2
  • Verify that the google-auth-library version has been updated to 10.6.2 by checking the node_modules directory or running npm ls google-auth-library.

Code Changes

No code changes are required for this fix. The issue is caused by a dependency version mismatch, and updating the google-auth-library version should resolve the issue.

Verification

To verify that the fix worked, follow these steps:

  • Restart the OpenClaw gateway.
  • Send a test message from Google Chat to the webhook endpoint.
  • Check the logs for incoming message processing.
  • Verify that the message is processed correctly and that there are no errors in the logs.

Extra Tips

  • Make sure to test the fix thoroughly to ensure that it resolves the issue and does not introduce any new problems.
  • Consider adding a dependency lockfile (e.g., package-lock.json) to ensure that the dependency versions are consistent across different environments.
  • If you encounter any issues with the updated google-auth-library version, you can try downgrading to a previous version or seeking support from the library maintainers.

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…

FAQ

Expected behavior

Google Chat inbound webhook messages should be received and processed identically to v2026.3.13.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: Google Chat inbound webhook broken in v2026.3.24 (google-auth-library downgrade regression) [1 comments, 1 participants]