com.google.gdata.util.ServiceForbiddenException: Forbidden This service does not support the 'q' parameter." I have downloaded latest Java Client Library: GData-Java/1.47.1(gzip) for GDATA. Try to use the setFullTextQuery method for searching contact groups. What steps will reproduce the problem? Setup Java Sample Contacts In ContactsExample.java, in queryEntries method, add a new line. myQuery.setFullTextQuery("Your search term here"); And run it I checked the version is correct, it is using GData-Version: 3.0 If run the sample java as it is provided, everything runs fine. But, I need to search the contacts. And using 'q' parameter should be the right approach. Please help. Is it something wrong in the library, or I need to take a different approach to search contacts? Logs below: Executing action: QUERY Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest setPrivateHeader FINER: Authorization: Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest setHeader FINER: User-Agent: Google-contactsExampleApp-3 GContacts-Java/3.1.0 GData-Java/1.47.1(gzip) Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest setHeader FINER: Accept-Encoding: gzip Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest setHeader FINER: GData-Version: 3.0 Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINE: 403 Forbidden Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: null: HTTP/1.1 403 Forbidden Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: X-Frame-Options: SAMEORIGIN Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Transfer-Encoding: chunked Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Date: Wed, 28 Nov 2012 17:38:48 GMT Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Expires: Wed, 28 Nov 2012 17:38:48 GMT Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: X-XSS-Protection: 1; mode=block Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Content-Encoding: gzip Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Content-Type: text/html; charset=UTF-8 Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Server: GSE Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Cache-Control: private, max-age=0 Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: X-Content-Type-Options: nosniff Exception in thread "main" com.google.gdata.util.ServiceForbiddenException: Forbidden This service does not support the 'q' parameter. at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:605)

Stack Overflow | user1860920 | 4 years ago
  1. 0

    Google Contacts API v3 Java Client Library full text search is not working

    Stack Overflow | 4 years ago | user1860920
    com.google.gdata.util.ServiceForbiddenException: Forbidden This service does not support the 'q' parameter." I have downloaded latest Java Client Library: GData-Java/1.47.1(gzip) for GDATA. Try to use the setFullTextQuery method for searching contact groups. What steps will reproduce the problem? Setup Java Sample Contacts In ContactsExample.java, in queryEntries method, add a new line. myQuery.setFullTextQuery("Your search term here"); And run it I checked the version is correct, it is using GData-Version: 3.0 If run the sample java as it is provided, everything runs fine. But, I need to search the contacts. And using 'q' parameter should be the right approach. Please help. Is it something wrong in the library, or I need to take a different approach to search contacts? Logs below: Executing action: QUERY Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest setPrivateHeader FINER: Authorization: Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest setHeader FINER: User-Agent: Google-contactsExampleApp-3 GContacts-Java/3.1.0 GData-Java/1.47.1(gzip) Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest setHeader FINER: Accept-Encoding: gzip Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest setHeader FINER: GData-Version: 3.0 Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINE: 403 Forbidden Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: null: HTTP/1.1 403 Forbidden Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: X-Frame-Options: SAMEORIGIN Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Transfer-Encoding: chunked Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Date: Wed, 28 Nov 2012 17:38:48 GMT Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Expires: Wed, 28 Nov 2012 17:38:48 GMT Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: X-XSS-Protection: 1; mode=block Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Content-Encoding: gzip Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Content-Type: text/html; charset=UTF-8 Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Server: GSE Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Cache-Control: private, max-age=0 Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: X-Content-Type-Options: nosniff Exception in thread "main" com.google.gdata.util.ServiceForbiddenException: Forbidden This service does not support the 'q' parameter. at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:605)
  2. 0

    Help, the sample problem

    Google Groups | 8 years ago | tomhe.c...@gmail.com
    com.google.gdata.util.ServiceForbiddenException: Forbidden This service does not support the 'q' parameter.
  3. 0

    Clarification on putting a google calender entry from java

    Stack Overflow | 9 months ago | user2861409
    com.google.gdata.util.ServiceForbiddenException: Forbidden <HTML> <HEAD> <TITLE>Forbidden</TITLE> </HEAD> <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> <H1>Forbidden</H1> <H2>Error 403</H2> </BODY> </HTML>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    New problem just started

    lngooglecalsync | 2 years ago | sfgdayton
    com.google.gdata.util.ServiceForbiddenException: Forbidden <html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"/><title>Sorry...</title><style> body { font-family: verdana, arial, sans-serif; background-color: #fff; color: #000; }</style></head><body><div><table><tr><td><b><font face=times color=#0039b6 size=10>G</font><font face=times color=#c41200 size=10>o</font><font face=times color=#f3c518 size=10>o</font><font face=times color=#0039b6 size=10>g</font><font face=times color=#30a72f size=10>l</font><font face=times color=#c41200 size=10>e</font></b></td><td style="text-align: left; vertical-align: bottom; padding-bottom: 15px; width: 50%"><div style="border-bottom: 1px solid #dfdfdf;">Sorry...</div></td></tr></table></div><div style="margin-left: 4em;"><h1>We're sorry...</h1><p>... but your computer or network may be sending automated queries. To protect our users, we can't process your request right now.</p></div><div style="margin-left: 4em;">See <a href="https://support.google.com/websearch/answer/86640">Google Help</a> for more information.<br/><br/></div><div style="text-align: center; border-top: 1px solid #dfdfdf;">© 2013 Google - <a href="https://www.google.com">Google Home</a></div></body></html>
  6. 0

    How to use querying by date in Java Client Library?

    Stack Overflow | 5 years ago | Hleb
    com.google.gdata.util.ServiceForbiddenException: This service does not support the 'published-min' parameter.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. com.google.gdata.util.ServiceForbiddenException

      Forbidden This service does not support the 'q' parameter." I have downloaded latest Java Client Library: GData-Java/1.47.1(gzip) for GDATA. Try to use the setFullTextQuery method for searching contact groups. What steps will reproduce the problem? Setup Java Sample Contacts In ContactsExample.java, in queryEntries method, add a new line. myQuery.setFullTextQuery("Your search term here"); And run it I checked the version is correct, it is using GData-Version: 3.0 If run the sample java as it is provided, everything runs fine. But, I need to search the contacts. And using 'q' parameter should be the right approach. Please help. Is it something wrong in the library, or I need to take a different approach to search contacts? Logs below: Executing action: QUERY Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest setPrivateHeader FINER: Authorization: Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest setHeader FINER: User-Agent: Google-contactsExampleApp-3 GContacts-Java/3.1.0 GData-Java/1.47.1(gzip) Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest setHeader FINER: Accept-Encoding: gzip Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest setHeader FINER: GData-Version: 3.0 Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINE: 403 Forbidden Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: null: HTTP/1.1 403 Forbidden Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: X-Frame-Options: SAMEORIGIN Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Transfer-Encoding: chunked Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Date: Wed, 28 Nov 2012 17:38:48 GMT Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Expires: Wed, 28 Nov 2012 17:38:48 GMT Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: X-XSS-Protection: 1; mode=block Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Content-Encoding: gzip Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Content-Type: text/html; charset=UTF-8 Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Server: GSE Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: Cache-Control: private, max-age=0 Nov 28, 2012 12:38:48 PM com.google.gdata.client.http.HttpGDataRequest execute FINER: X-Content-Type-Options: nosniff Exception in thread "main" com.google.gdata.util.ServiceForbiddenException: Forbidden This service does not support the 'q' parameter. at com.google.gdata.client.http.HttpGDataRequest.handleErrorResponse(HttpGDataRequest.java:605)

      at com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse()
    2. Google Data
      Service.query
      1. com.google.gdata.client.http.GoogleGDataRequest.handleErrorResponse(GoogleGDataRequest.java:564)
      2. com.google.gdata.client.http.HttpGDataRequest.checkResponse(HttpGDataRequest.java:560)
      3. com.google.gdata.client.http.HttpGDataRequest.execute(HttpGDataRequest.java:538)
      4. com.google.gdata.client.http.GoogleGDataRequest.execute(GoogleGDataRequest.java:536)
      5. com.google.gdata.client.Service.getFeed(Service.java:1135)
      6. com.google.gdata.client.Service.getFeed(Service.java:1077)
      7. com.google.gdata.client.GoogleService.getFeed(GoogleService.java:676)
      8. com.google.gdata.client.Service.query(Service.java:1237)
      9. com.google.gdata.client.Service.query(Service.java:1178)
      9 frames
    3. sample.contacts
      ContactsExample.main
      1. sample.contacts.ContactsExample.queryEntries(ContactsExample.java:406)
      2. sample.contacts.ContactsExample.processAction(ContactsExample.java:350)
      3. sample.contacts.ContactsExample.main(ContactsExample.java:626)
      3 frames