I think the code may be a bit outdated you need to specify an id for
each item you insert.

So the code your using just needs updating to do this and it should
work.

Tom Wilson
Freelance Google Base Developer and Consultant
www.tomthedeveloper.com

Google Base Tools - http://dev.tomthedeveloper.com/googlebase
Featured Project : 
http://google-code-featured.blogspot.com/2008/02/google-base-competitor-analysis.html

On Mar 3, 8:56 am, hereareare <[email protected]> wrote:
> what is worong ,when i execute InsertExample of GDATA java sample , i
> get "You must specify an id for this item."
>
> sample code is :http://code.google.com/p/gdata-java-client/source/
> browse/trunk/java/sample/gbase/basic/InsertExample.java
>
> i get error like this:
> <errors>
>   <error type="data" field="item" reason="You must specify an id for
> this item." />
> </errors>
--~--~---------~--~----~------------~-------~--~----~
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