Hi,

There seems to be a problem with your HTTP request header fields or
the structure of the posted XML.

Here is some documentation on "MalformedRequest(1004)" error that you
encountered.
http://code.google.com/apis/apps/reporting/google_apps_reporting_api.html#Error_Handling

Do make sure there are no new lines, white spaces or other non-visible
characters surrounding the <?xml> processing and other tags. Also,
validate the HTTP headers passed across to the server.

If you still encounter the error, can you send the source code to
reproduce this error?

- Anirudh (Google)


On May 8, 5:17 pm, JWise1203 <[EMAIL PROTECTED]> wrote:
> I am receiving aMalformedRequestrequest error when i post the
> following XML string to the Reporting Web Service 
> (https://www.google.com/hosted/services/v1.0/reports/ReportingData)
>
> <?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>DQAAAIYAAA...</token>
>   <domain>wildcats.wilmu.edu</domain>
>   <date>2008-04-10</date>
>   <reportType>daily</reportType>
>   <reportName>accounts</reportName>
> </rest>
>
> I am using the SID= portion of the string for the token part of the
> string. Could someone help me out?
--~--~---------~--~----~------------~-------~--~----~
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