Your request looks fine. Mine is exactly the same and I'm not having any problems.
On occasions I get the same response when the report is not available. You can replicate this problem by setting the date in your request to be the current day. (ask for a 2009-03-19 report on 2009-03-19). As I recall from the docs, new reports are available at 12:00pm Pacific time, 2 days ago. You might try an older date like 2009-03-15, just to see if the problem is date related. Doug On Thu, Mar 19, 2009 at 1:42 PM, Kenny <[email protected]> wrote: > > Hi everyone, > > I'm developing an application with the Google App Engine to retrieve > and display reports from the Google Apps reporting API. I've closely > followed the protocol. > > So far, I have been able to successfully authenticate and get my token > for reporting requests. When it comes to the actual report request, I > am having a bit of trouble. > > According to the docs (http://code.google.com/apis/apps/reporting/ > google_apps_reporting_api.html<http://code.google.com/apis/apps/reporting/%0Agoogle_apps_reporting_api.html>), > the URL to retrieve reports from is: > > https://www.google.com/hosted/services/v1.0/reports/ReportingData > > I am POSTing the following data in my request: > > <?xml version="1.0" encoding="UTF-8"?> > <rest xmlns="google:accounts:rest:protocol" xmlns:xsi=" > http://www.w3.org/2001/XMLSchema-instance "> > <type>Report</type> > <token>[Valid Token Here]</token> > <domain>agilemigrate.com</domain> > <date>2009-03-17</date> > <reportType>daily</reportType> > <reportName>accounts</reportName> > </rest> > > On the response, I am getting an HTTP 404 error. the actual output is > a bit of un-indented html: > <HTML> > <HEAD> > <TITLE>Not Found</TITLE> > </HEAD> > <BODY BGCOLOR="#FFFFFF" TEXT="#000000"> > <H1>Not Found</H1> > <H2>Error 404</H2> > </BODY> > </HTML> > > I've noticed similar errors quite recently for developers using other > services: > > http://groups.google.com/group/google-contacts-api/browse_thread/thread/572d487da1701fe > > http://groups.google.com/group/google-calendar-help-dataapi/browse_thread/thread/60133d9abed8b517 > > http://www.google.com/support/forum/p/Google+Apps/thread?tid=0f754088c629bcb4&hl=en > > According to those users, it seems there applications have been > breaking fairly suddenly after working for a while (and these cases > are all from the last two weeks or so). > > This error is coming up on my Python app, but I've written a quick C# > utility to post the same data and I've reproduced the error. Can > anyone else reproduce this -- and if so, do you know if this is this > is a known issue? > > Kenny Katzgrau @ LTech Consulting (Google Apps Reseller/Enterprise > Partner) > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
