Internal Google Chat Bot Fails to Invoke Apps Script

Problem Description: We have an internal Google Chat bot, built with Apps Script and linked to a Google Cloud Project, that is failing to execute. When the bot is @mentioned in a Chat space, it returns a generic “[Bot Name] not responding” error after a 30-second timeout.

Key Symptoms:

  1. The linked Apps Script project shows zero executions in its log. The onMessage function is never triggered.

  2. The Google Cloud Logs Explorer shows no errors related to the Chat API or Apps Script invocation at the time of the failure. The request seems to disappear silently.

Exhaustive Troubleshooting Steps Performed:

  • Confirmed all Chat API configurations are correct (Status: LIVE, Interactive Features: Enabled, Visibility: Correct).

  • Confirmed the correct invocation method is being used (@mention in a space).

  • Confirmed the appsscript.json manifest contains the required "chat": {} entry.

  • Tested with a minimal “Hello World” Apps Script; this also failed in the exact same way.

  • Crucially, we created a completely new, clean Google Cloud Project and a new Apps Script project from scratch. This brand-new, clean environment fails in the exact same way.

Project Information:

  • Google Workspace Domain: drtcbotha.com

  • Failing GCP Project Name: chat-bot-v4

  • Failing GCP Project ID: (Find this on the home dashboard of your “chat-bot-v4” project)

  • Linked Apps Script ID: (Find this in the Project Settings :gear: of your “Chat Bot V4” script)

  • Example Timestamp of Failure: Friday, 3 October 2025, approx 8:02 PM SAST.

Hi there, I am experiencing the same problem. Were you ableo to resolve it?