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 8902645
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T01:39:57+00:00 2026-06-15T01:39:57+00:00

I try to authenticate into Google Queue API using the Google Sample Code –

  • 0

I try to authenticate into Google Queue API using the Google Sample Code – Taskqueue-cmdline-sample,

You have to set a google client id and google client secret into the client_secrets.json file of the sample.

So my problem is which credentials to use there and how to obtain them! Plus we have to use an email address in the ACL of queue.xml in GAE and not a Client ID…

You have a link in the documentation who point there to get the client id/secret: http://code.google.com/p/google-api-java-client/source/browse/shared/shared-sample-cmdline/src/main/java/com/google/api/services/samples/shared/cmdline/oauth2/OAuth2Native.java?repo=samples

But it’s dead… (404) –> FIXED

Documentation: http://samples.google-api-java-client.googlecode.com/hg/taskqueue-cmdline-sample/instructions.html

Checkout the sample there : http://code.google.com/p/google-api-java-client/source/checkout

Update

The TaskQueue API is not in my list of Services. How could I activate TaskQueue API?

  • 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-15T01:39:58+00:00Added an answer on June 15, 2026 at 1:39 am

    Thanks for the heads-up regarding the documentation. It was updated accordingly.

    The credentials for client_secrets.json comes from the Developer Console. You can follow these steps to obtain them (which are now listed at the documentation):

    • Visit the Google apis console
    • If this is your first time, click “Create project…”
    • Otherwise, click on the drop down under the “Google apis” logo at the top left, and click “Create…” under “Other projects”
    • Click on “API Access”, and then on “Create an OAuth 2.0 Client ID…”.
    • Enter a product name and click “Next”.
    • Select “Installed application” and click “Create client ID”.
    • In the newly created “Client ID for installed applications”, click “Download JSON” on the right side. Later on after you check out the sample project, you will copy this downloaded file (e.g. ~/Downloads/client_secrets.json) to src/main/resources/client_secrets.json. If you skip this step, when trying to run the sample you will get a 400 INVALID_CLIENT error in the browser.

    Note that the link used above and in the documentation automatically asks if you want to activate the TaskQueue API, which is necessary. If you manually go to the API console, be sure to go to the services tab and turn that API on yourself.

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

Sidebar

Related Questions

I am trying to integrate the Google Plus API into my web application. I
I am using following code to add account into Account list final AccountManager accountMgr
I'm putting together a Java client for Bing Translate, using their REST API. I
i'm running into some problem when i try to authenticate with a web service
I'm running into a problem using LDAP to authenticate logins. We are using a
I have been using the XMS API to connect to Websphere MQ and using
I am using Devise to authenticate users in my rails app. I have couple
Try this code - import java.io.StringReader; public class StringReaderTest { public static void main(String[]
Try this piece of code - public class WhitespaceTest { public static void main(String[]
try: html = urlopen('http://glbse.com/api/asset/' + asset.name) except: print 'error while updating the price of

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.