When insert item, you should set attribute id, like
"GBaseAttributes.AddTextAttribute("id", "")", but remeber the id is
unique.On Mar 3, 4:56 pm, 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 -~----------~----~----~----~------~----~------~--~---
