Hi Anirudh,

I'm receiving the same message as Sarvin, except we are using the
Eduction edition.  Any reason why?  Is my XML and post response:

<?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>myToken</token>
  <domain>lakeheadu.ca</domain>
  <date>2009-03-23</date>
  <page>1</page>
  <reportType>daily</reportType>
  <reportName>accounts</reportName>
</rest>
404 Not Found
POST https://www.google.com/hosted/services/v1.0/reports/ReportingData
User-Agent: libwww-perl/5.808

XML::LibXML::Document=SCALAR(0x2e52c)

------
HTTP/1.1 404 Not Found
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Connection: Close
Date: Mon, 30 Mar 2009 14:59:12 GMT
Pragma: no-cache
Server: GFE/1.3
Content-Length: 141
Content-Type: text/html; charset=UTF-8
Expires: Fri, 01 Jan 1990 00:00:00 GMT
Client-Date: Mon, 30 Mar 2009 15:01:18 GMT
Client-Peer: 72.14.205.104:443
Client-Response-Num: 1
Client-SSL-Cert-Issuer: /C=ZA/O=Thawte Consulting (Pty) Ltd./CN=Thawte
SGC CA
Client-SSL-Cert-Subject: /C=US/ST=California/L=Mountain View/O=Google
Inc/CN=www.google.com
Client-SSL-Cipher: RC4-SHA
Client-SSL-Warning: Peer certificate not verified
Title: Not Found
X-Content-Type-Options: nosniff

<HTML>
<HEAD>
<TITLE>Not Found</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1>Not Found</H1>
<H2>Error 404</H2>
</BODY>
</HTML>

Thank you,

Jesse



On Mar 27, 9:44 am, "Anirudh (Google)" <[email protected]> wrote:
> Hi,
>
> We are aware of the issue regarding the generic 404 error messages
> which has cropped up recently and are in the process of fixing that.
>
> Coming back to your specific issue, Reporting API is only available to
> Premier & Education editions and the domain in your post is a standard
> edition (Assuming that is the actual domain you are running reports
> for).
>
> -Anirudh
>
> On Mar 27, 9:37 am, Sarvin <[email protected]> wrote:
>
>
>
> > Unfortunately, that doesn't seem to be the problem in this case.
> > I've tried backing it off by a few days with the same results.
>
> > On Mar 26, 2009, at 10:57 PM, Doug Carter wrote:
>
> > > This should be in a FAQ somewhere. It's unfortunate that you can't  
> > > get better diagnostic data from an invalid API request. Your problem  
> > > is the date, it must be at least 2 days ago.
>
> > > Doug
>
> > > On Thu, Mar 26, 2009 at 8:15 PM, sarvinc <[email protected]> wrote:
>
> > > I'm hoping someone can shed some light on what I'm doing incorrectly.
> > > Using perl and the example script I can get the SID token. I'm not
> > > sure how to proceed with the next step; retrieving a report. Here's an
> > > excerpt of my sample code:
>
> > > my $content =
> > > "<?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>$auth_token</token>
> > >    <domain>ckettle.com</domain>
> > >    <date>2009-03-26</date>
> > >    <reportType>daily</reportType>
> > >    <reportName>disk_space</reportName>
> > >  </rest>";
>
> > > my $rep_url = 'https://www.google.com/hosted/services/v1.0/reports/
> > > ReportingData';
> > > my $response = $lwp_object->post( $rep_url, Content => $content);
> > > print $response->content;
>
> > > Unfortunately this is all I get back:
>
> > > <HTML>
> > > <HEAD>
> > > <TITLE>Not Found</TITLE>
> > > </HEAD>
> > > <BODY BGCOLOR="#FFFFFF" TEXT="#000000">
> > > <H1>Not Found</H1>
> > > <H2>Error 404</H2>
> > > </BODY>
> > > </HTML>
>
> > > I'm not sure what I'm doing wrong and any help would be appreciated.- 
> > > Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to