Ah, good catch and Jake is right, I didn't catch it in December because we were already in double digits. Simple fix, thanks for the help.
On Jan 8, 6:53 pm, "Julian (Google)" <[EMAIL PROTECTED]> wrote: > Hi, > > There is a problem with the date format your are submitting, it should > be <date>YYYY-MM-DD</date>. Also be careful with the new lines on the > xml tags. > > Could you please try again with: > > <?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>TOKEN...</token> > <domain>stu.etsu.edu</domain> > <date>2008-01-05</date> > <reportType>daily</reportType> > <reportName>accounts</ > reportName> > </rest> > > Thanks, > -julian > > On Jan 7, 12:05 pm, "Ian D." <[EMAIL PROTECTED]> wrote: > > > A small script that I wrote back in December (the last time it ran was > > 12/21/07, I think) doesn't work anymore. I receive this response: > > > <hs:rest > > xmlns:hs="google:accounts:rest:protocol"><hs:status>Failure(2001)</ > > hs:s > > tatus><hs:reason>MalformedRequest(1004)</ > > hs:reason><hs:extendedMessage>No extend > > ed message available for this error.</hs:extendedMessage><hs:result></ > > hs:result> > > <hs:type></hs:type></hs:rest> > > > When I post this 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>DQAAAH...</token> > > <domain>stu.etsu.edu</domain> > > <date>2008-1-5</date> > > <reportType>daily</reportType> > > <reportName>accounts</ > > reportName> > > </rest> > > > Nothing in my code has changed since December. Any idea what's wrong > > with my request, as it appears to be well-formed and correct according > > to the API reference. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
