Closed Rahul2702 closed 2 years ago
Hi @Rahul2702,
The code looks correct from the google-api-python-client
perspective. Since you said it worked until October 27, something may have changed in the service itself.
Some quick things to try:
If those steps don't narrow down what the issue is, please use one of the support channels listed on https://developers.google.com/chat/support and a Google Chat API expert will be able to help you.
Thanks!
Environment details
google-api-python-client
version:Name: google-api-python-client Version: 2.31.0 Summary: Google API Client Library for Python Home-page: https://github.com/googleapis/google-api-python-client/ Author: Google LLC Author-email: googleapis-packages@google.com License: Apache 2.0 Location: /home/rahul/securly_quarantine_venv/lib/python3.8/site-packages Requires: uritemplate, httplib2, google-auth-httplib2, google-auth, google-api-core Required-by:
Code example
The above code was working till 27 Oct. 2021. After that its starts giving the below error. service_account_credentials.json is the Google App client service account with enabling GChat APIs, AdminASK API, and Audit APIs. I am trying to access the regular user(email address) GChat messages/room_members using delegated permissions.
Stack trace
Thanks!