Issue:
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.
Resolution:
- 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.
- Head to https://admin.google.com/ac/owl/domainwidedelegation and ensure the client ID displayed in the error message has been granted the specified API scope
- For more information on the specified API scope: https://developers.google.com/workspace/chat/authenticate-authorizehttps://developers.google.com/drive/api/guides/api-specific-auth
If you are still having difficulty please reach out to us: https://support.glean.com.