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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:47:27+00:00 2026-05-25T02:47:27+00:00

I am getting below error while executing the gdata api sample code. I am

  • 0

I am getting below error while executing the gdata api sample code. I am new to the api . Please let me know the resolution for the same. Where i need to to put the captcha and how.

SEVERE: Authentication Error: Captcha required
com.google.gdata.client.GoogleService$CaptchaRequiredException:
Captcha required at
com.google.gdata.client.GoogleAuthTokenFactory.getAuthException(GoogleAuthTokenFactory.java:623)
at
com.google.gdata.client.GoogleAuthTokenFactory.getAuthToken(GoogleAuthTokenFactory.java:500)
at
com.google.gdata.client.GoogleAuthTokenFactory.setUserCredentials(GoogleAuthTokenFactory.java:346)
at
com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:362)
at
com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:317)
at
com.google.gdata.client.GoogleService.setUserCredentials(GoogleService.java:301)
at
com.google.gdata.client.appsforyourdomain.audit.AuditService.(AuditService.java:77)
at AuditSampleClient.main(AuditSampleClient.java:100)

import java.util.Calendar;
import java.util.Properties;

import com.google.gdata.client.appsforyourdomain.audit.AuditService;
import com.google.gdata.client.appsforyourdomain.audit.MailBoxDumpRequest;
import com.google.gdata.data.TextConstruct;
import com.google.gdata.data.appsforyourdomain.AppsForYourDomainException;
import com.google.gdata.data.appsforyourdomain.generic.GenericEntry;
import com.google.gdata.util.AuthenticationException;
import com.google.gdata.util.ServiceException;

public class google_data {

    /**
     * @param args
     */
    public static void main(String[] args) {
        // TODO Auto-generated method stub

            export_data();
    }
    public static void export_data()
    {
        MailBoxDumpRequest request = new MailBoxDumpRequest();
        request.setAdminEmailAddress("-----");
        request.setUserEmailAddress("----------");

        Calendar beginDate = Calendar.getInstance();
        beginDate.set(2011, Calendar.AUGUST, 1, 4, 30);
        request.setBeginDate(beginDate.getTime());

        Calendar endDate = Calendar.getInstance();
        endDate.set(2011, Calendar.AUGUST, 30, 20, 0);
        request.setEndDate(endDate.getTime());

        request.setIncludeDeleted(true);
        request.setSearchQuery("in:chat");
        request.setPackageContent("FULL_MESSAGE");

        AuditService service = null;
        try {
            service = new AuditService("-----", "------", "------", "-------auditapp-v1");
        } catch (AuthenticationException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }
        GenericEntry mailboxDumpEntry = null;
        try {
            mailboxDumpEntry = service.createMailboxDumpRequest(request);
        } catch (AppsForYourDomainException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } catch (MalformedURLException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } catch (IOException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        } catch (ServiceException e) {
            // TODO Auto-generated catch block
            e.printStackTrace();
        }

        TextConstruct requestId = mailboxDumpEntry.getSummary();
        System.out.println(requestId.toString());
        //String status = mailboxDumpEntry.getStatus();
        //String numberOfFiles = mailboxDumpEntry.getNumberOfFiles();
    }

}
  • 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-05-25T02:47:28+00:00Added an answer on May 25, 2026 at 2:47 am

    I got the solution:

    http://code.google.com/googleapps/faq.html#handlingcaptcha

    Why do I keep getting CAPTCHA errors even after I unlock the administrator account?

    Please verify in your code that you are specifying your full administrator email address e.g. "admin@domain.com" instead of just "admin".
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

While executing the code below I am getting HTTP 500 Internal Server Error. public
I was changing the vc++ include directory with new paths suddenly getting below error
I'm getting the following error on the line of code below: Syntax error (missing
I am getting JQUERY undefined error. Do you have any idea (code below). <%@
I have code below that is getting called from a while loop so it's
While using inner join on Pro*C I am getting the below error: PCC-S-02201, Encountered
I am getting the below error while installing the war file mentioned here. http://www.ibm.com/developerworks/websphere/library/techarticles/0809_vamsi/0809_vamsi.html
While running unit tests, I'm getting the MDA shown below. In the error message,
I was getting the below error when running scripts Problem while capturing system stateundefined
I am getting below error while running gzip command over ssh ssh 123@HPUX gzip

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.