Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

10 votes
3 answers
10k views

How to fix the storage exceeded issue for Google Drive when uploading using Service Accounts

If you're using Google Apps for Work (also called G-Suite) and uploading files to your Google Drive via the Drive API you'll eventually find yourself with an error message that looks like this: Error:...
Matt Wielbut's user avatar
  • 2,682
6 votes
2 answers
8k views

Send email from server via a G Suite email address

I am attempting to send an email from a node.js server using nodemailer I currently have a domain name registered with Google Domains and with this I have a G Suite instance setup to provide me with ...
mwild's user avatar
  • 1,625
4 votes
1 answer
941 views

GSuite Alert Center API returns 'customer id could not be inferred from the request or caller identity.' error

I am trying to get a list of alerts from the GSuite Alert Center API in a Node JS application. I created a Service Account at the IAM & Admin page, checked the Enable G Suite Domain-wide ...
Alex Kolokolov's user avatar
4 votes
1 answer
3k views

Generate ACS url with express and passport-saml for Gsuite SSO

I'm implementing a SAML based SSO with nodejs using express and passport-saml for GSuite. I'm able to configure the first part and get passport-saml to redirect me to the google login page. But I'm ...
BPC's user avatar
  • 96
3 votes
2 answers
5k views

Not Authorized To Access This Resource/API (GCP)

I set up a service account with domain-wide delegation and I passed the client email, private key, scopes, and a user email the JWT method to impersonate a G-Suite user. I then get specific user info ...
Raine Petersen's user avatar
3 votes
1 answer
1k views

NodeMailer - G-Suite - Service Account - Send as Group Email

Problem: I'd like to send emails from a group email via Gmail and a service account. However, when trying to send via [email protected] instead of [email protected] I get: Error: unauthorized_client ...
Fabian Bosler's user avatar
2 votes
1 answer
5k views

RSA private/public keys for Google's OAuth2

I'm making a server-to-server authentication using a service account from Google Cloud Platform. According to Google's documentation, the request token (JWT) must be based on RSA SHA-256 algoritm, ...
Pablo Motnoya's user avatar
2 votes
1 answer
1k views

How to use service account to authenticate google workspace admin api?

I obtained a service account JSON file and also attached domain wide delegation permissions to that service account. Next I set the service account file path using the GOOGLE_APPLICATION_CREDENTIALS ...
THpubs's user avatar
  • 8,172
2 votes
1 answer
650 views

Google Directory API: Unable to access User/Group endpoints using Service Account (403)

I am trying to verify members of groups using the Google Directory API and cannot get past a 403 error every time I make the request. I am using a service account, which I have enabled the "Enable G ...
Gareth Jeanne's user avatar
2 votes
1 answer
109 views

Firebase deploy error _d.map is not a function (converterConfig)

I have 2 environments of the same project (react + firebase) in firebase hosting, one for development and one for production. I can correctly send files to firebase in the dev environment, but in the ...
Sabrina B.'s user avatar
2 votes
1 answer
282 views

Sheets API values.get sporadically returns Loading... when I try to get values for a cell

Scenario: Using API, do the following: Write a value on A1 Write another value on B1 A custom formula present on C1 computes the result Get the value from C1 Sporadically the value for C1 will end ...
Vikram Tiwari's user avatar
2 votes
0 answers
330 views

How do I use my email alias as original sender with GSUITE & Nodemailer?

I have a form with two fields, username and email address, so users can leave their names for a reservation list for a new product coming soon. I have properly set nodemailer with gsuite and also an ...
Arp's user avatar
  • 1,069
2 votes
0 answers
776 views

Google groups -'Resource Not Found: groupKey'

I have tried every possibility but haven't got any solution to solve this. I am using JWT for authentication My code is const { google } = require('googleapis') const credentials = require('./...
Rupesh's user avatar
  • 880
1 vote
1 answer
2k views

GSuite Error: Can't create new access token for user - OAuth2 Nodemailer

I'm trying to send emails through gmail from nodejs but I keep running into this error. Error: Can't create new access token for user at XOAuth2.generateToken(c: \apps\node\myapp\node_modules\...
Kingsley's user avatar
  • 795
1 vote
1 answer
791 views

how to read users gmail using google admin sdk and gmail api

I am new to google admin SDK and workspace. First, I would like to apologize for my broken English and grammar. I'm trying to read emails of my all workspace users using admin SDK and Gmail API with ...
imtiyaz's user avatar
  • 11

15 30 50 per page