1,156 questions
0
votes
0
answers
96
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 ...
0
votes
1
answer
133
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 ...
0
votes
0
answers
84
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:
...
0
votes
0
answers
362
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);
...
1
vote
1
answer
128
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> ...
1
vote
0
answers
55
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 ...
2
votes
2
answers
636
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)....
0
votes
1
answer
151
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 ...
2
votes
1
answer
2k
views
google-calendar-api with java spring boot
I am developing a java Springboot web application. In Which I have multiple users that login with a adress mail and a password. The login is Ok.
@Override
protected void configure(HttpSecurity http) ...
1
vote
0
answers
989
views
GA4 Data API - How to set multiple dimensions and metrics
I am trying to generate a report using the Data API of GA4. However, I could not manage to add multiple metrics or dimensions to my report builder.
This is how I try to achieve this functionality:
...
0
votes
1
answer
318
views
Google API Calendar calendar ID "primary" not working
I'm trying to integrate Google Calendar API and I've been able to configure the API using a Service Account with its ID and I've already shared my calendar with the new IAM email address that was ...
0
votes
1
answer
136
views
java.lang.IllegalStateException: getTransportChannel() called when needsExecutor() is true while getting gcp secret manager
I tried to use with dependency version google-cloud-secretmanager 2.13.0. is there anyone can help with this? Here is util class to get secret manager value.
public String get(String secretName) {
...
0
votes
1
answer
417
views
Google Play Integrity API: PKIX path building failed: ....SunCertPathBuilderException: unable to find valid certification path to requested target
I encounter this exception while trying to decode the Play Integrity token on the server side:
PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find ...
2
votes
2
answers
883
views
How to integrate Google Calendar client with GoogleCredentials in Java
Hi I am trying to use Google Calendar client with GoogleCredentials but not able to find any docs on how to make this work. Please add a doc or let me know how to make it work.
package com.example;
...
1
vote
1
answer
598
views
Youtube Data API - Java implementation
Been browsing for a while but can't find concrete answer whether the Java implementation of the Youtube Data API includes handling rate limits out of the box or is this something one has to account ...
0
votes
1
answer
218
views
Getting 400 when uploading video with YouTube API
When trying to upload a video using YouTube Data API, I get:
Exception in thread "main" com.google.api.client.googleapis.json.GoogleJsonResponseException: 400 Bad Request
POST https://www....
5
votes
0
answers
163
views
Internal Server error in GoogleDrive V2 API when using maxResults param [closed]
I am using GoogleDrive's V2 java client library to list the files from my GDrive.
I am getting the below error from Google end frequently.
{
"code" : 500,
"errors" : [ {
&...
1
vote
1
answer
1k
views
What is the data processing latency for the Google Analytics data api for (GA4)?
I am reading the analytics data using API call found in this link
Google Analytics Data API (GA4)
What is the google delay to return all the info? for example, at 5 Am can I be sure I am receiving ...
1
vote
1
answer
274
views
Create a job on jobs google via api returns "The Application Default Credentials are not available" [closed]
I started to create an application for posting vacancies in jobs.google. I can not find an open api in order to post these vacancies directly on jobs.google through it.
Tell me how to do it.
I found a ...
1
vote
0
answers
200
views
How to check if we have more pages in GA4 using JAVA
I am reading the GA4 info according to the code sample provided here in Google Developers Documentation.
I do not know how to check if there are more pages? looking at the result's size I guess I am ...
0
votes
1
answer
849
views
Google authorization as a Service Account (Java)
I'm trying to get authorization through a Service Account to Google Sheets (No confirmation window). I can't find any information about it. If I use the method from https://developers.google.com/...
0
votes
1
answer
174
views
Handling DST in google api using java
I need to create some events and upload them to a google calendar. Now I have hit an unforeseen bump, as the times and timezone offset gets changed automatically, once uploaded. I am working with a ...
1
vote
0
answers
166
views
Google is presenting different certificates for the same Gmail API call
We are using Google's Gmail API (https://gmail.googleapis.com/gmail/v1/users/{userId}/history) in our application and the API is returning Certificate with different CNs: sometimes the CN is “google....
1
vote
0
answers
759
views
Weird java.lang.NoSuchMethodError when trying out the GMail API Quickstart
Problem
In trying this quickstart example, and of course, refactoring it to my needs/coding style, I am facing this weird Error:
Test Cases/Unit Tests/SMDEmailUtils FAILED.
Reason:
java.lang....
-1
votes
1
answer
784
views
The Application Default Credentials are not available. They are available if running in Google Compute Engine. Otherwise - java android
I making an app using google drive to store files for user to their google drive
I followed google developer guide in https://developers.google.com/drive/api/guides/about-sdk
and when i press the ...