Top "Google-api-java-client" questions

The Google APIs Client Library for Java is a flexible, efficient, and powerful Java client library for accessing any HTTP-based API on the web, not just Google APIs.

OAuth2 and Google API: access token expiration time?

We have a standalone Java application (see "Installed application") which runs periodically and uses Google API (updates some information from …

security google-api oauth-2.0 google-api-java-client google-oauth
Exception using HttpRequest.execute(): Invalid use of SingleClientConnManager: connection still allocated

I'm using google-api-client-java 1.2.1-alpha to execute a POST request, and am getting the following stacktrace when I execute() the HttpRequest. …

java httpclient google-api-java-client
Error: 'The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console.'

I am getting the following error while accessing Google Play Developer API using a service account: The project id used …

google-api google-api-client google-api-java-client
Google Auth API Javascript idpiframe initialization error on Chrome

I use GSuite and I'm coding a very simple web app to use Google Auth API, and I get an …

javascript google-chrome google-api-client google-api-java-client
Unable to refresh access token : response is "unauthorized_client"

I am getting an error when I try to refresh access token: 400 Bad Request {error : "unauthorized_client"} From the Google …

google-api oauth-2.0 google-api-java-client
com.google.api.client.json.jackson.JacksonFactory; missing in Google Drive example

I tried running the quickstart-sample, and this dependency: <dependency> <groupId>com.google.apis</groupId> &…

java google-drive-api google-api-java-client
Getting a 403 - Forbidden for Google Service Account

I am trying to get an access token for Google Service Account. Following is my code - String SERVICE_ACCOUNT_…

google-api google-apps google-oauth google-api-java-client google-oauth-java-client
How to get started with Google Custom Search API?

I'm trying to write a Java program that uses Google's Custom Search API to retrieve search results. As a first-time …

google-api-java-client google-custom-search