1,588 questions
1 vote
0 answers
40 views
Why can google service account not access calendar api using python
I have an application that needs to read events from a google calendar. I am trying to use a service account as that seems appropriate. My code is: from googleapiclient.discovery import build from ...
0 votes
0 answers
51 views
Gmail API 403 "Delegation denied" error using Service Account DWD (Apps Script) despite Super Admin role
I am running a Google Apps Script to programmatically update Gmail signatures for users across my Google Workspace domain using a Service Account with Domain-Wide Delegation (DWD). Despite confirming ...
0 votes
0 answers
65 views
rclone can't write to a folder shared-with-me using a GCP service_account and google-drive-api
Overall goal: I'm trying to get a service-account script to write to our company's Google Drive. Currently trying to use rclone for writing files. Working backwards I got rclone working when logged in ...
0 votes
0 answers
90 views
The caller does not have permission
I have the code to create a new Spreadsheet using Service account, everything was working good, but after I change the sheet value manually with my own email, google has blocked the spreadsheetsand ...
0 votes
1 answer
52 views
How to change Service account at triggers with gcloud command?
I recently tried to change Service account for triggers(it was set as default when we create it) And there are more than 150 triggers to be changed. I tried commands below, but it is not working with ...
0 votes
1 answer
108 views
Data Transfer API 401 error with service account (Domain-wide Delegation), but Directory API works
I'm trying to use a service account with domain-wide delegation to transfer Google Drive data between users in my Workspace domain. The service account works fine with Directory API, but the Data ...
1 vote
1 answer
126 views
How to restrict access of a service account to only specified user(s) in google workspace?
I'm developing an application that needs to read and label emails from a single, specific mailbox that is a part of a google workspace. I managed to connect a service account to the workspace using ...
0 votes
1 answer
139 views
Java Google Mail API send "Precondition check failed" - 400 Bad Request for Service Account server-to-server no user
In response to Google's recent change to disallow username/password access to Google Workspace accounts from Google Cloud VM-instances, I am attempted to replace sendmail calls with Google API calls ...
1 vote
1 answer
162 views
GCP Infrastructure Manager needs excessive ADMIN or OWNER role on project to work
I'm trying to configure GCP Infrastructure Manager (IM) with my custom Service Account (SA), but I can't do that without assigning it a project ADMIN or OWNER role. I assigned SA the following roles: ...
0 votes
0 answers
364 views
"Google Cloud IAM: Unable to find 'Cloud Vision API User' role or 'vision.images.annotate' permission, even with 'Service Account Admin' role"
"I am trying to grant the 'Cloud Vision API User' role (or the vision.images.annotate permission for a custom role) to a service account in my Google Cloud project ('DriveOCRAutomation'). However,...
0 votes
0 answers
63 views
Google Drive API: List All Files in a Domain (Including Private & Shared) Using Service Account with DWD
I have created a Google service account and granted it Domain-Wide Delegation (DWD). I am trying to use the Google Drive API to list all files present in the domain, including both users' private ...
0 votes
0 answers
20 views
Can I use GCP Service Account attached to Cloud Functions to access Google Maps API w/o API key? [duplicate]
I have attached "Owner" permissions to the Service Account attached to Cloud Function but still I get 403 Forbidden (i.e. not authorized) when trying to access Maps API (Places). The api ...
0 votes
0 answers
31 views
getting an 403 error when calling the anotate_video api
My service is installed in AWS using Python Django. The GOOGLE_APPLICATION_CREDENTIALS field points to the JSON file containing all service-related access information, such as the private key. Calling ...
0 votes
0 answers
90 views
Unable to access Google workspace account via GCP Service account
I've created a project in GCP in which I'm trying to monitor inboxes of two accounts. I've created a service account with domain-wide delegation enabled via Google Admin Console. But I'm not able to ...
0 votes
0 answers
68 views
Pulling image from GCP artifact registry facing 403 error despite permissions being given
The GCP service account has Artifact registry reader role in the project and the kubernetes service account has roles/workloadIdentity.user on GCP service account. However pod run always fails with ...