Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
537 views

So my colleague and I have an application whereby we need to capture the OAuth Redirect from Google's OAuth Server Response, the reason being is we need to send a payload to capture to renew our ...
R. Barrett's user avatar
2 votes
1 answer
383 views

I am following the steps in https://developers.google.com/gmail/api/quickstart/python to create their example application that can print a Gmail user's labels. I get JSONDecodeError: Extra data ...
WarrenTheRabbit's user avatar
1 vote
1 answer
750 views

from googleapiclient.http import MediaFileUpload from Google import Create_Service from googleapiclient.http import MediaIoBaseDownload import google_auth_oauthlib import pypandoc import random import ...
kristaps Strods's user avatar
0 votes
1 answer
1k views

I've been losing my mind over this issue for the past few days. To clarify my issue, I am trying to send emails with images embedded in them. I mostly use these embedded images for footer or social ...
Bram van Ulden's user avatar
0 votes
0 answers
175 views

def update_thumbnail_on_youtube(video, path): try: request = youtube.thumbnails().set(videoId=video['id'], alt="media", media_body=MediaFileUpload(path)) ...
nevertwenty's user avatar
-1 votes
2 answers
1k views

I am looking into ways of converting XML files from Google Cloud Storage to the JSON or CSV file format and storing it in another GCS bucket. Anyone would have any suggestions on how to do it? I have ...
Matas's user avatar
  • 3
2 votes
3 answers
2k views

I'm going to create a google resource calendar room via its API (i.e. https://admin.googleapis.com/admin/directory/v1/customer/my_customer/resources/calendars). But the problem is, when I create one, ...
Benyamin Jafari's user avatar
1 vote
1 answer
2k views

Very similar to this question: ValueError: Client secrets must be for a web or installed app but with a twist: I'm trying to do this through a Google Cloud Virtual Machine. Recently, the Out-Of-Band (...
caproki's user avatar
  • 410
0 votes
2 answers
411 views

I am trying to upload an image to google photos service using a google service account with a domain-wide delegation to use a [email protected] account. Somehow I only get a 401 error: "...
user avatar
1 vote
1 answer
1k views

Sample Call: https://analyticsreporting.googleapis.com/v4/reports:batchGet?alt=json Sample Error: googleapiclient.errors.HttpError: <HttpError 503 when requesting https://analyticsreporting....
Jay's user avatar
  • 427
5 votes
2 answers
8k views

I've been making a program in python that is intended to have each user be able to use it to access a single google sheet and read and update data on it only in the allowed ways, so ive used google ...
Doggoluvr's user avatar
0 votes
1 answer
796 views

from googleapiclient.discovery import build After pip installing google api for python google tells me to use this command however the command doesn't work! Can anyone help? https://developers.google....
Sammy Morgan's user avatar
0 votes
1 answer
316 views

With this code: import json from googleapiclient.discovery import build from pprint import pprint as pp NUM_RESULTS = 11 MY_SEARCH = 'bordben' MY_API_KEY = '...' MY_CSE_ID = '...' def google_search(...
hln's user avatar
  • 1,116
0 votes
1 answer
2k views

I am trying to create a script that enables a Service Account [email protected] to impersonate a user account [email protected] with the following GA scopes: target_scopes = ['...
qroberts's user avatar
  • 119
1 vote
1 answer
6k views

To be clear: I'm not impersonating another user. I'm sending the email from the service account and the receiver will see the name of the service account as the sender I have already enabled gmail ...
Fishball Nooodles's user avatar
1 vote
0 answers
128 views

Even though I did pip3 install google-auth that doesn't resolve the error, any idea? File "/opt/anaconda3/lib/python3.9/site-packages/gslib/utils/wrapped_credentials.py", line 33, in <...
nerd's user avatar
  • 493
1 vote
1 answer
1k views

I'm using Google Ads API v11 to upload conversions and adjust conversions. I send hundreds of conversions each day and want to start sending batch requests instead. I've followed Google's ...
IdoS's user avatar
  • 590
0 votes
1 answer
226 views

I'm trying to access blogger API using the official Google python library and a service account with a JSON key file made at the Google Developer console. I'm using Linux Debian. google-api-python-...
madtyn's user avatar
  • 1,569
1 vote
1 answer
664 views

I am trying to create a code that saves new contacts and puts them in a certain group. Creating a contact works great- service = build('people', 'v1', credentials=creds) service.people().createContact(...
eliotz's user avatar
  • 119
0 votes
0 answers
344 views

My work requires me to download data (csv file or files) from Gmail every day. I am able to execute the code below for attachment download by email identifier using fetch(), but I want to download ...
user20350073's user avatar
0 votes
0 answers
54 views

I've written a script to add events to Google calendar using the Google Calendar API for python. It works perfectly when ran as just a python script but after making it an exe with pyinstaller it ...
Jesper's user avatar
  • 3
0 votes
1 answer
192 views

for a project I need to use the google API to have a google sheets that a python script can read and write to from any computer, but the google developer console isn't working as intended as far as I ...
Doggoluvr's user avatar
0 votes
1 answer
536 views

We have a Python script that copies/creates files in a GCS bucket. # let me know if my setting of the custom-metadata is correct blob.metadata = { "file_capture_time": some_timestamp_var ...
oikonomiyaki's user avatar
  • 7,991
1 vote
2 answers
5k views

I am trying to run the quickstart code snippet from Google Cloud tutorials and somehow the line from google.cloud import documentai_v1 as documentai I get this error: Cannot find reference '...
Rohan's user avatar
  • 11
1 vote
1 answer
927 views

I have this Python code, that shows all files from Google Drive: files = [] page_token = None while True: response = service.files().list(spaces='drive', fields=...
dokichan's user avatar
  • 653

1
3 4
5
6 7
34