Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9008603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T01:58:46+00:00 2026-06-16T01:58:46+00:00

I need to make a Java application that stores calendar events in employees within

  • 0

I need to make a Java application that stores calendar events in employees within a Google Domain.
I created the application based on a sample I found on http://code.google.com/p/google-api-java-client/wiki/APIs#Calendar_API

Now I wanted to make it work on an account from the google domain and suddenly I’m stuck.
I changed the client_secrets.json file with a new one. generated on code.google.com/apis/console for an installed application and now I get a invalid client error:

ex = (com.google.api.client.auth.oauth2.TokenResponseException) com.google.api.client.auth.oauth2.TokenResponseException: 400 Bad Request
{
“error” : “unauthorized_client”
}

Do I need to do other steps for this? Also it needs to work on all accounts by default within the domain not the single account. Maybe other console? I hope not an other library.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T01:58:48+00:00Added an answer on June 16, 2026 at 1:58 am

    To have access to all accounts in the domain, you need to use a service account:

    https://developers.google.com/accounts/docs/OAuth2ServiceAccount

    while this link is specific to Drive API, it should give you some code samples that are easily adaptable to Calendar API v3:

    https://developers.google.com/drive/delegation

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Java application that parses files and stores the data I need
In java I need to make a Calendar object from a String in the
Situation: I need to make an imap client (using java mail api) that if,
I need to make application that will catch EVERY SINGLE SMS that phone receives,
I have a Java EE web application that does not make use of EJBs.
I need to make a C# application compatible with a Java application. The Java
I am trying to make an Android/ Java application that needs to connect to
I am writing a distributed Java application that will make heavy use of networking,
I made an application that encrypts and stores files in JAVA. I have lots
I'm learning java and I'm trying to make a very simple application that does

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.