Skip to main content
Filter by
Sorted by
Tagged with
1 vote
0 answers
138 views

Problem: I am facing this error- googleapiclient.errors.HttpError: <HttpError 403 when requesting https://docs.googleapis.com/v1/documents?alt=json returned "The caller does not have ...
Hetarth Jain's user avatar
14 votes
2 answers
31k views

I'm working on a project using Google Colab to run Python code that interacts with the Gemini API (a part of Google's Cloud AI tools). The goal is to automate call transcript categorization into ...
nils's user avatar
  • 165
0 votes
1 answer
54 views

I’m using the Python client library (google-api-python-client) to call captions.update, but I keep getting a 403 forbidden even though I’ve granted all the obvious scopes. I’d appreciate any insight ...
Kenji Ishikawa's user avatar
0 votes
2 answers
157 views

I'm trying to use the Connect Gateway client in python to connect to GKE but I keep getting 400, even if everything seemingly is correct. Example from google.cloud.gkeconnect import gateway_v1 client ...
Pithikos's user avatar
  • 20.6k
0 votes
2 answers
88 views

I am using a python script to import calendar entries from one tool to google calendar. I have no problems with events that repeat weekly, but the monthly repeating events get created incorrectly. I ...
Beth ChaosDragon ChaosDragon's user avatar
0 votes
0 answers
115 views

Problem: Even after requesting “offline” access and saving the refresh token, the refresh token stops working after 1 day or sometimes just a few hours. Actual error: Reauthentication is needed. ...
Rohan Karan's user avatar
3 votes
1 answer
6k views

I have a URL to a public google doc which is published (It says published using Google Docs at the top). It has a URL in the form of https://docs.google.com/document/d/e/<Some long random string, I ...
Rbe's user avatar
  • 31
6 votes
7 answers
10k views

I have been trying to use the Palm API and the palm.chat() function with google's new generative api. I've been in a maze of documentation and errors and I can't seem to get past this one. My code is ...
flyingchicken's user avatar
0 votes
2 answers
133 views

I am testing my python connection to Google Drive using Python Google API Client. I am able to establish a connection, but I am not getting back a list of objects from Google Drive. I wonder if a lack ...
Steve Scott's user avatar
  • 1,542
1 vote
1 answer
112 views

Using the Python example taken directly from the "Google Sheets API documentation > Create a spreadsheet" and changing only the credentials, I am experiencing poor performance. It's ...
Stokedout's user avatar
  • 11.1k
0 votes
1 answer
656 views

I can't read the files that I saved on "Google Drive" using the code that You can see below. I've yet enabled the "Google Drive API" in the GCP project. I've yet created the "...
Stefano G.'s user avatar
2 votes
1 answer
2k views

In Google calendar you can add "Appointment schedule" These are events that repeat periodically. But they are not created from ordinary events. They are created precisely by the schedule. ...
Doleensk's user avatar
2 votes
1 answer
193 views

I am trying to extract and download reports from DV360 API using python. I have gone through the documentation https://developers.google.com/bid-manager/guides/get-started/send-request ,but not able ...
Bits's user avatar
  • 286
1 vote
1 answer
113 views

I need to be able to get Google site reviews by their API do put them in our data warehouse. I tried with the following code: from googleapiclient.discovery import build API_KEY = '...
André Pletschette's user avatar
0 votes
0 answers
49 views

I have the ClientId and SecretKey json file and trying to get the estimatedRevenue for the youtube channel. I have this scope defined SCOPES = ["https://www.googleapis.com/auth/yt-analytics-...
Srini's user avatar
  • 1
3 votes
3 answers
3k views

I created two Gmail accounts and I'm trying to create an e-mail thread between them with the Python Gmail API. I can send e-mails without any issue, but when it comes to replying to each other and ...
ibra's user avatar
  • 136
38 votes
15 answers
89k views

I wanted to get all the folders inside a given Google Cloud bucket or folder using Google Cloud Storage API. For example if gs://abc/xyz contains three folders gs://abc/xyz/x1, gs://abc/xyz/x2 and gs:...
Shamshad Alam's user avatar
78 votes
8 answers
135k views

I am wondering if you can point me to an example of reading/writing to/from a google doc/spreadsheet using python. I did look at google docs API here https://developers.google.com/google-apps/...
Abhi's user avatar
  • 6,325
0 votes
0 answers
79 views

I have developed a Python-based Web API using frameworks such as Flask or FastAPI and need to deploy it on an IIS (Internet Information Services) server. The goal is to make the API accessible within ...
Praveen Kumar's user avatar
0 votes
0 answers
63 views

I'm trying to retrieve historical feature values from Vertex AI Feature Store following the documentation. I'm running the example notebook from vertex-ai-samples. Everything works fine until running: ...
SenseiH's user avatar
  • 181
2 votes
2 answers
8k views

I have a very simply program that I copied from Google's workspaces, the import statements are as follows import os.path from google.auth.transport.requests import Request from google.oauth2....
user avatar
0 votes
2 answers
2k views

Below is a snippet that sends a prompt and a pdf file to gemini. def runGemini(prompt, model, document=None): model = genai.GenerativeModel(model) content = prompt if document: ...
Walucas's user avatar
  • 2,578
5 votes
2 answers
16k views

Hello there I'm a newbie to programming. I was going to authenticate to Gmail API using oauth2 Authentication and I forgot to set the redirect URI at the first place. Then I registered it but I still ...
Gayan C's user avatar
  • 63
1 vote
2 answers
732 views

I do not want to set the project with the gcloud cli or environment variables, I want to do this programmatically. I'm attempthing to use client_options, but this is not working: from google.cloud ...
red888's user avatar
  • 32.3k
12 votes
3 answers
20k views

I am following the tutorial here (https://cloud.google.com/ai-platform/training/docs/training-jobs#python_1) and using Python to deploy a machine learning model to Google cloud for training. However, ...
Xi Liu's user avatar
  • 629

1
2 3 4 5
34