Hi,

I try to run the sample contacts API that I donwloaded from Google.


In, build-samples\build.properties  I reset the following properties


sample.credentials.username= my Gmail account name
sample.credentials.password= my Gmail password


In addition, I reset all the external dependencies location.


In test.txt file , this is the first statement the program is trying
to execute


--action=add --name=TestChange5 --notes=Notes --
phone1=456,rel:http://
schemas.google.com/g/2005#home,primary:true


As per the instructions I executed the following command


ant -f gdata/java/build-samples.xml sample.contacts.run


but I ran into the following error


     [java] <H1>Bad Request</H1>
     [java] Your client has issued a malformed or illegal request.
     [java]
     [java] <p>
     [java] </blockquote>
     [java] <table width=100% cellpadding=0 cellspacing=0><tr><td
bgcolor="#3366
cc"><img alt="" width=1 height=4></td></tr></table>
     [java] </body></html>
     [java]
     [java]     at
com.google.gdata.client.http.HttpGDataRequest.handleErrorResp
onse(HttpGDataRequest.java:558)


What I am doing wrong? Please help. Thanks


--

You received this message because you are subscribed to the Google Groups 
"Google Contacts API" 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-contacts-api?hl=en.


Reply via email to