Try to debug what's the raw XML that gets sent, and also try to understand
what's thexml response you get back. The response should contain the error
message telling you
why the items you try to insert are invalid.

If you know what XML you're sending, then use the demo-page for making such
a
request, and check the response. The errors  are always returned and should
give
you a good description.

Alex

On Mon, Oct 19, 2009 at 11:34 AM, Santu <[email protected]>wrote:

>
> NO,
> When i try to debug the code, the last step service.Insert throwing an
> error.
> The remote server returned an
> error: (400) Bad Request. at System.Net.HttpWebRequest.GetResponse()
> at Google.GData.Client.GDataRequest.Execute();
>
>
> Thanks in Advance
>
> Santosh
>
>
> On Oct 16, 5:48 pm, Tom Wilson <[email protected]> wrote:
> > Are there any error messages on you Google Base dashboard ?
> >
> > Tom Wilson
> > Freelance Google Base Developer and Consultantwww.tomthedeveloper.com
> >
> > Google Base Tools -http://dev.tomthedeveloper.com/googlebase
> > Featured Project :
> http://google-code-featured.blogspot.com/2008/02/google-base-competit...
> >
> > On Oct 16, 8:17 am, Santu <[email protected]> wrote:
> >
> > > HI,
> > > can anyone help me in solving the issue, i am not able to fix this
> > > error since from 2days,
> > > i am trying to insert the housing item in its giving the error as:-
> >
> > > Caught Exception:Execution ofrequestfailed:
> http://www.google.com/base/feeds/items;
> > > InnerException: System.Net.WebException: The remote server returned an
> > > error: (400)BadRequest. at System.Net.HttpWebRequest.GetResponse()
> > > at Google.GData.Client.GDataRequest.Execute();
> > > Data: System.Collections.ListDictionaryInternal;
> > > Source:Google.GData.Client
> >
> > > i am using the sample code given athttp://
> code.google.com/apis/base/docs/2.0/developers_guide_dotnet.htm...
> >
> > > and i am using the Authsub Authentication.
> >
> > > any help would be greatful.
> >
> > > Thanks
> > > Santosh
> >
> >
> >
>


-- 
Alex Dovlecel, Google Switzerland GmbH
Company Identifikationsnummer: CH-020.4.028.116-1

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Base Data 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-base-data-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to