On 2009-10-16 08:02:48 -0700, dominity <domin...@gmail.com> said:

> It's happenning very often. Could you explain me why? I've got good
> internet connection and it isn't problem.
> Also, could you tell me what I should do futher?

It could just be taking a long time to complete.

You can adjust the connection and read timeouts, by calling 
setConnectTimeout() and setReadTimeout() on your service object, as 
documented here:

http://code.google.com/apis/gdata/javadoc/com/google/gdata/client/http/HttpGDataRequest.html


When 

> I catch IOException I want to repeat the same operation. But when
> I do this status of batched entry sais that there is version conflict.
> What I should do?

A verison conflict happens when you're trying to edit an entry, but 
your data is outdated. This prevents you from overwriting data from 
another session and causing data loss.

In this case, it sounds like your first request is succeeding, and the 
API is stopping you from overwriting your own data.

If you re-fetch the feed (which will update the version data), it will 
allow you to edit the entry successfully.

-- 
Trevor Johns



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to