All Questions
Tagged with google-workspace node.js
31
questions
1
vote
1
answer
67
views
Can't send an email from service account, get 400 Precondition check failed error
Trying to send an email using a service account with role owner within my project. I keep getting a 400 error that says Precondition check failed.
const sendEmail = async () => {
const auth = new ...
0
votes
0
answers
32
views
Google Drive NodeJS SDK: Upload file to a "real" account of Google Drive
I have a Google Workspace account under my domain, let's call it [email protected].
And I want to upload a file to this drive using NodeJS Drive SDK.
According to the formal documentations, I ...
0
votes
0
answers
53
views
googleapis Unknown channel type nodeJs
I am trying to listen to events such as user is added to active directory in google workspace using googleapis , I have created adminSdk and its working fine with other functionalities but when I use ...
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 ...
0
votes
1
answer
137
views
Which permissions are actually needed to update a user alias in Google Directory API?
I am attempting to manage email aliases with a user I set up in the Google Directory console, but am running into a surprising permission issue.
I have created an admin role within the google ...
0
votes
2
answers
157
views
Google calendar with a service worker
Trying to create events for a calendar on my personal gmail account from visitors from my website. However I can't seem to get it to work.
Currently I am getting
...
status: 200,
statusText: 'OK'...
1
vote
2
answers
475
views
How to really use Google Workspace Admin SDK?
I trying to implement an Server Node App which access the groups from Google Workspace to make some stuff.
I read some articles, Google doc and read some stack overflow questions but I still don't ...
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 ...
1
vote
1
answer
774
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 ...
0
votes
0
answers
380
views
How to obtain a refreshToken using OAuth2Client (google-auth-library ) for a Google Workspace add-on application
I have a Google Workspace add-on application built with Node.js with the following scopes:
"https://www.googleapis.com/auth/gmail.addons.execute",
"https://www.googleapis.com/auth/...
2
votes
1
answer
272
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 ...
0
votes
0
answers
131
views
Sending query parameter and input value to a method
looking for some help here please. So, I have a page that list the users from a group using the groupID as the parameter. Sometimes these list of users could be really long and I wanted to build in a ...
0
votes
1
answer
343
views
nodemailer google workspace cant create new access token
I keep on getting this error my email system worked when I tested it with ethereal email but now I have tried to use it with Gsuite I am getting this error when my server tries to send from my google ...
2
votes
0
answers
324
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 ...
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 ...