Hi Onkar, For such a large report it might be giving that error because gzip compression is not enabled on the report response. Unfortunately none of the provided client libraries support gzip compression, so you'll have write some code to enable it. We'll work to remedy that with the next release.
http://code.google.com/apis/apps/reporting/google_apps_reporting_api.html#Compression -alex On Nov 8, 1:32 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, > I am using the Google API reports and have sucessfully implemented > three reports. However I have come across an issue for Account > Reports. The account report prints all registered users. Currently > there are 1.4 million users, and if I run the report for 01-Nov-2007, > this is taking forever and the following error message is returned: > > Exception in thread "main" java.io.IOException: Server returned HTTP > response code: 502 for > URL:https://www.google.com/hosted/services/v1.0/reports/ReportingData > at > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.... > 1170) > at > sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConn... > 234) > at google.apps.reporting.ReportRunner.getReportData(ReportRunner.java: > 401) > at google.apps.reporting.ReportRunner.runReport(ReportRunner.java: > 335) > at google.apps.reporting.ReportRunner.runReport(ReportRunner.java: > 291) > at google.apps.reporting.ReportRunner.main(ReportRunner.java:556) > > Is there are a way to limit the amount of data that is retreived, i.e. > returing 1000 rows or something > Thanks > Onkar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Apps APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-apps-apis?hl=en -~----------~----~----~----~------~----~------~--~---
