HttpError 404 when requesting https://chat.googleapis.com/v1/spaces?pageSize=10&alt=json
returned "Google Chat app not found. To create a Chat app, you must turn on the Chat API
and configure the app in the Google Cloud console."
The Chat API needs to be enabled on the GCP project that hosts the bundled OAuth client ID. PRs #484 and #486 added the correct OAuth scopes (chat.spaces.readonly, etc.), but the underlying GCP project may not have the Google Chat API enabled yet.
Problem
Google Chat tools (
list_spaces,get_messages,search_messages) return a 404 error:Context
215373412892)Root cause (likely)
The Chat API needs to be enabled on the GCP project that hosts the bundled OAuth client ID. PRs #484 and #486 added the correct OAuth scopes (
chat.spaces.readonly, etc.), but the underlying GCP project may not have the Google Chat API enabled yet.Steps to reproduce
workspace-mcplist_spacesExpected behavior
list_spacesshould return the user's accessible Chat spaces.Environment
workspace-mcplatest (post v1.11.2, includes PRs Add chat.spaces.readonly scope for listing spaces #484, enh: Refresh flow when scopes change since last authorization #486, Add chat attachment support: surface metadata and download files #488)