We are unable to make an API request for a required API scope. The error message displayed in the console should display the specific scope we’re unable to validate.
Make sure the ‘Google Chat API’ is enabled for the Glean GCP Project in use. It can be enabled in the API Library. Head to https://console.developers.google.com/apis/api/chat.googleapis.com/overview?project=<glean-gcp-project-id> to check.
If your Glean GCP project is Glean hosted, this step must be performed by your Glean representative.
Once the API is enabled, you need to configure the app. Click on Manage and switch to the Configuration tab. If your Glean GCP project is Glean hosted, this step must be performed by your Glean representative. Fill out the fields as below:
Login to Google Chat using the directory admin email and send a chat message to any other user. This marks the user as an active google chat user for the API to work.