Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
146 views

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
  • 53
1 vote
1 answer
129 views

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
59 views

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
59 views

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
197 views

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
649 views

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
2k views

Background I have built a mod for Minecraft, and I am now at the point where it is ready to be built into a jar and run it in the game. My IDE is Intellij, the framework I am using is Fabric, and I am ...
xxhawk8xx's user avatar
2 votes
1 answer
2k views

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) ...
Rekillme Re's user avatar
0 votes
1 answer
75 views

public static Credential authorize(final NetHttpTransport httpTransport) throws IOException { InputStream in = new FileInputStream(CLIENT_SECRETS); GoogleClientSecrets clientSecrets = ...
Sinio's user avatar
  • 29
1 vote
0 answers
996 views

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: ...
Denizcan Yılmaz's user avatar
1 vote
2 answers
771 views

I changed Google Analytics to Ga4 The administrator is pulling statistics through the api and using it. API is using v4, so I think it's compatible with ga4. Follow the manual to connect to Google ...
SsenGom's user avatar
  • 23
0 votes
1 answer
319 views

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 ...
Yusuf Musa's user avatar
0 votes
1 answer
75 views

I'm using the Gdrive Java API and the code I have to list a directory is: FileList result = driveService.files().list() .setPageSize(100) .setFields("nextPageToken, files(...
user2395365's user avatar
  • 2,199
0 votes
1 answer
141 views

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) { ...
Chan Myae Aung's user avatar
1 vote
0 answers
1k views

I am using the Java Client Library to handle Google authentication for my app. Below is the code to handle the authentiation. It is almost exactly the same as the code featured on the Java quickstart, ...
Shynee's user avatar
  • 11
2 votes
2 answers
889 views

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; ...
Amit's user avatar
  • 29
0 votes
0 answers
160 views

I am trying to query a list of root files and folders which are owned by me and along with items which are shared with me. So I am using this query - ((not 'me' in owners and sharedWithMe) or 'root' ...
Aman Singh's user avatar
1 vote
2 answers
1k views

i'm trying to integrate the google login function on my website and i'm following the relative google doc for the server side token validation: https://developers.google.com/identity/gsi/web/guides/...
Giacomo's user avatar
  • 11
0 votes
1 answer
221 views

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....
Luís Soares's user avatar
  • 6,250
0 votes
1 answer
181 views

i want insert text to table 2x3, when insert text with new rows i see strange behavior. How to calculate correct index to insert content in tablecell, or document for that? List<Request> ...
MinhSu - Justin's user avatar
1 vote
2 answers
453 views

I have this dependency <dependency> <groupId>com.google.apis</groupId> <artifactId>google-api-services-dataflow</artifactId> <version>v1b3-rev20221025-2....
Atanas S.'s user avatar
1 vote
1 answer
1k views

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 ...
Shila Mosammami's user avatar
1 vote
1 answer
277 views

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 ...
Alexander's user avatar
  • 147
1 vote
0 answers
202 views

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 ...
Shila Mosammami's user avatar
0 votes
1 answer
189 views

Can my app update google calendar recipient meeting, if the recipient has given access to the service account of the App? When I try to do that, I get this message: Exception thrown: 403 Forbidden ...
Nisarg's user avatar
  • 21
0 votes
1 answer
857 views

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/...
Vladislava Soboleva's user avatar
6 votes
0 answers
1k views

I am using Google Drive's java Client Library to list and download files from my application. When trying to list files, I am getting 500 Internal Server error from Google. { "code" : 500, &...
kv stack's user avatar
0 votes
1 answer
176 views

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 ...
Stef's user avatar
  • 446
1 vote
1 answer
873 views

This my application worked successfully before. The issues appeared despite I did not change any application code. Neither I did any changes in the drive api console. Currently it is being ...
user299702's user avatar
7 votes
3 answers
4k views

I've been working on a little project that connects to the user's Gmail inbox and reads the mails using google-api-client 2.0.0 and google-api-services-gmail version v1-rev20220404-2.0.0 When I try to ...
Giovanni Grana's user avatar
-1 votes
1 answer
788 views

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 ...
Arash Torkaman's user avatar
1 vote
2 answers
455 views

I have created one poc using Gmail API which read all email and print on console. I have take refrence from Gmail api Java quickstart. I have follows all the steps like create project, Gmail API ...
Bhautik Sakhiya's user avatar
1 vote
1 answer
3k views

I try to send mail use Gmail API. My code almost the same like in google tutorial, but when I invoice this send Message method I get error Request had insufficient authentication scopes. This is full ...
Aliaksandr Vysotskiy's user avatar
3 votes
1 answer
3k views

I'm trying to export a document from Google Drive via their Drive API, and there's an example of it in the docs, but I didn't have any luck with it. Here's my code: @RequestMapping(value = "/test&...
Matej Martincevic's user avatar
0 votes
1 answer
418 views

I am trying to upload a local file to a specified folder in Google Drive using REST API from android app, the file is uploading in the root directory but not uploading in the specified folder. No ...
Mahesh Ambekar's user avatar
3 votes
1 answer
3k views

I'm trying to use my Google Workspace account to send emails in my Spring Boot application. I went to the Google Cloud Console and I: Created a new project and selected it (namely ...
Manu's user avatar
  • 4,147
1 vote
1 answer
1k views

Suffered a lot in finding how to mock http response . Mocking http request for the same library was easy . Thought to create a thread here , to save your time should you need it . Requirement -> ...
Shubham Arora's user avatar
1 vote
1 answer
716 views

I have integrated Google Calendar with business email of my company. Everything works fine if we use email with our own domain. However, if a certain user uses with a simple gmail.com domain the error ...
BM540's user avatar
  • 23
0 votes
1 answer
2k views

I tried to get the profile details of the google user, I already got an access token by using the refresh token now I want to get the details of the user. I have no idea what I have to pass in the ...
kavinila's user avatar
0 votes
1 answer
2k views

Currently, I am using the following implementation but the code says GoogleCredential is deprecated. GoogleCredential credential = new GoogleCredential.Builder() .setClientSecrets(...
fa gsc's user avatar
  • 23
0 votes
1 answer
873 views

By default, when you open a Google Sheet without any GID parameter in the URL, it will open to the first tab. I want to open to a specific tab which has a consistent tab name. I have the url of a ...
Yikaft's user avatar
  • 3
1 vote
1 answer
1k views

i am trying to implement a task by which to access GMail through the Google API (Java client). The scope of the task is that it will retrieve a user's emails, labels etc. It's my first time ...
pma's user avatar
  • 35
0 votes
0 answers
85 views

Basically working on a spring project that is trying to leverage google api. To do so I need to access the StoredCredentials file, which is follows this path: src/main/resources/[email protected]/drive-...
fa gsc's user avatar
  • 23
0 votes
0 answers
354 views

I am trying to write a Groovy script to get translations from Google Translate API (using an API key, stored in as the GOOGLE_API_KEY environment variable1) but I get an error I'm not able to overcome....
msoutopico's user avatar
10 votes
3 answers
10k views

There is a project which depends on google-api-client and google-api-services-drive. google-api-client verion looks like this: 1.23.0, and there is a changelog on github for this library. google-api-...
manuna's user avatar
  • 891
1 vote
1 answer
410 views

Does anyone know the correct setup for the cloud project and redirect URL within the application for the following case? Setup: Spring + Apache Wicket The application is installed on a server (...
ApplDev's user avatar
  • 33
0 votes
2 answers
385 views

We want to receive notifications from google when we do anychange(Add,Edit OR Delete) on google drive folder for these purpose we have integrated google watch api in our spring boot application. code ...
Atul Gupta's user avatar
2 votes
1 answer
2k views

I have working code to list the files in my Google Drive folder containing binary files but I'm getting an error when trying to download: GET https://www.googleapis.com/download/drive/v3/files/...
user2395365's user avatar
  • 2,199
0 votes
1 answer
2k views

I have a file of more than 1GB and want to upload it to Google cloud storage in chunks by using the client library for JAVA. I was able to find multipart upload functions in AWS as well as for ...
Atharva's user avatar
  • 83
1 vote
1 answer
1k views

I am having problem while converting audio file to text using google speech to text. I am able to download the file from Twilio but when I supply that audio file to google speech then it gives me 0 ...
Usama's user avatar
  • 77

1
2 3 4 5
12