Skip to main content
The 2025 Developer Survey results are in. Explore insights into technology and tools, careers, community and more. View results.
0 votes
0 answers
79 views

Error 401 when accessing to Google Cloud API for retrieving calendar events with a "valid" token

I want to download the google calendar events into my tool, to show them in a calendar developed in Angular. The tool is composed by an Angular frontend and a Java Spring Boot backend. I successfully ...
King Midas's user avatar
  • 1,739
0 votes
1 answer
33 views

Connect to Google API using service account (in Kotlin)?

Use a JSON service account key file to connect to a Google API. Currently, AI generates bad code and searches are noisy with the variety of alternate authentication schemes.
F. P. Freely's user avatar
  • 1,164
0 votes
1 answer
81 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 ...
jn4's user avatar
  • 55
0 votes
0 answers
31 views

Port and Protocol used by OAuth2 to return an access token from an access code?

I'm porting my app from Windows (where it works) to Linux (where it doesn't work). I can't figure out why, but my firewall is pretty strict. What port and protocol are being used to return the ...
Todd's user avatar
  • 3,042
0 votes
0 answers
77 views

Google Oauth refresh token without redirect url ? Just auto refresh

Just some context - Im creating app to merge my family calendars from different sources. I want to setup some google component but I have a problem. My code is pretty straight forward. First enter is: ...
user2188158's user avatar
0 votes
1 answer
99 views

How to Create 'Gmail' Service with GoogleCredentials

I have the following versions <dependency> <groupId>com.google.api-client</groupId> <artifactId>google-api-client</artifactId> ...
HeronAlgoSearch's user avatar
0 votes
0 answers
324 views

Getting service acount credential in GKE

I have GKE cluster that uses a custom service-account. I'm using it to access Google API (Gmail API). But, when I use final List<String> SCOPES = List.of(GmailScopes.GMAIL_READONLY); ...
anz's user avatar
  • 1,052
1 vote
1 answer
50 views

Can We Use Google API Classes (TextRun, ParagraphElement, StructuralElement, etc.) to Construct an Object and Post Using Request/Batch Update?

Using Google API with Java for Google Docs, we can access classes like TextRun, ParagraphElement, etc. and set the values, for example, as follows: TextRun txtRun = new TextRun(); txtRun.setContent(&...
Ken D's user avatar
  • 11
1 vote
1 answer
124 views

Gmail Javi API batch too many requests

I am using the Java Gmail API to retrieve some email messages. Once I get a list of messages, I am using batching to get the individual messages info. Sample code as follows: List<MessageDto> ...
Swordfish's user avatar
  • 1,279
1 vote
1 answer
53 views

Search List returned multiple channels

I trying to send this request to get the channel request = youtube.search().list("snippet"); request.setMaxResults(50); request.setQ(channelName); request.setType("channel"); we ...
Raneen Bsais's user avatar
1 vote
0 answers
54 views

I have a question regarding Google Calendar API logic

I'm testing Google Calendar authentication-related logic in Java. I'm not sure if I'm misunderstanding the concept, but I've been unable to resolve the issue for several days now. My code is as ...
recadro's user avatar
  • 11
0 votes
1 answer
188 views

Google Drive credential returns 403 insufficientPermissions

I'm trying to get a list of files' data from Drive. Following the google's example didn't work. This is an example of my code: private static final JsonFactory JSON_FACTORY = GsonFactory....
lohan's user avatar
  • 9
2 votes
2 answers
567 views

How can I set up a Google OAuth2 client using https scheme in Java using?

I am writing an application that uses the Spreadsheets API. Because I am using the write scope, which is sensitive, the OAuth2 redirect URI must use https instead of http (except when using localhost)....
kvitso's user avatar
  • 328
0 votes
1 answer
238 views

401 Unauthorized to sqladmin.googleapis when using Spring Cloud to create ephemeral certificate for GCP Cloud SQL

I am connecting a Springboot application on my local computer to GCP Cloud SQL, using Spring cloud dependency com.google.cloud:spring-cloud-gcp-starter-sql-postgresql:4.8.2 The dependency is trying to ...
at9pm's user avatar
  • 1
0 votes
1 answer
147 views

Integrating Google calendar to a jsf web App

Our web application, developed in JSF, allows its users to schedule meetings in their calendar. The goal is that in the application settings, each user can integrate their Google account, so that the ...
Rekillme Re's user avatar

15 30 50 per page
1
2 3 4 5
78