Google Apps Contacts Forbidden Error 403
Contents |
'We're sorry...' (error 403)Symptoms: When logging in, you see the error 'We're sorry but your query looks similar to automated requests from a computer virus or spyware application.' You may also see '403 Forbidden' in your browser. Cause: Potential
Google 403 That's An Error
causes include abuse of Google sites on your network, malicious google 403 forbidden software on your computer, or an issue with your browser. Solution: If the error page displays error 403 google chrome a squiggly word with a box (a CAPTCHA), just type the squiggly word into the box to continue using Gmail. A CAPTCHA helps us determine
Google Search Error 403
whether traffic is coming from automated robot software or from individual users. If the page doesn't display the CAPTCHA, or if you're continually receiving the CAPTCHA page, you may be able to resolve this problem by clearing your browser's cache and cookies. If clearing your browser's cache and cookies doesn't resolve
Google 403 Error Code
the issue, we suggest trying a different browser, such as Mozilla Firefox, available for free download. If you continue to experience this error, you may want to try scanning your computer for malicious software. Such software is often bundled with other free downloads without your knowledge and can trigger Google to serve the CAPTCHA page. We've suggested some well-known, free programs below that can detect and remove such applications. Please remember that we have no connection with these companies and can't comment on their effectiveness. We can tell you, though, that trying the most up-to-date versions of these programs often makes a difference. Lavasoft Ad-Aware Spybot Search and Destroy MacScan (for Mac users) Share this: Vivian is a Gmail expert and the author of this help page. Leave her feedback about this help page. Was this article helpful?YesNoSubmit ©2016 Google Privacy Policy Terms of Service Program Policies catalàdanskDeutschespañolfrançaishrvatskiIndonesiaitalianolatviešulietuviųmagyarNederlandsnorskpolskiportuguês (Brasil)românăslovenčinaslovenščinasuomisvenskaTiếng ViệtTürkçečeštinaΕλληνικάбългарскирусскийсрпскиукраїнськаעבריתالعربيةفارسیไทย中文(简体)中文(繁體)日本語한국어 English
from GoogleSign inHidden fieldsSearch for groups or messages
von GoogleAnmeldenAusgeblendete FelderNach Gruppen oder Nachrichten suchen
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Getting a 403 - Forbidden for Google Service Account up vote 0 down vote favorite I am trying to get an access token for Google Service Account. Following is my code - String SERVICE_ACCOUNT_EMAIL = "edited@developer.gserviceaccount.com"; List scope = new ArrayList(); scope.add("https://www.googleapis.com/auth/admin.directory.user"); String keyFile = "C:\\edited-privatekey.p12"; HttpTransport HTTP_TRANSPORT = new NetHttpTransport(); JsonFactory JSON_FACTORY = new JacksonFactory(); GoogleCredential credential = new GoogleCredential.Builder() .setTransport(HTTP_TRANSPORT) .setJsonFactory(JSON_FACTORY) .setServiceAccountId(SERVICE_ACCOUNT_EMAIL) .setServiceAccountScopes(scope) .setServiceAccountPrivateKeyFromP12File(new java.io.File(keyFile)) .build(); credential.refreshToken(); String accessTokens = credential.getAccessToken(); Although the code works fine and I do get an access token, when I try to use it to 'GET' a Google Apps User using the Google Directory APIs, I get a 403 - Forbidden response code. Could someone please help? I know the code for GET user is correct because it works fine with the access token generated by Google Apps Admin. google-api google-apps google-oauth google-api-java-client google-oauth-java-client share|improve this question asked Dec 4 '13 at 10:12 Sayali 13319 add a comment| 2 Answers 2 active oldest votes up vote 3 down vote You need to set an admin account with: .setServiceAccountUser(some_admin_email) And make sure your App (with the correct scopes) is granted access in the cpanel. share|improve this answer answered Dec 4 '13 at 10:52 qtxo 20624 1 Thanks for your help. I am