Hi -
I'm seeing occasional bug reports from users of the zindus addon which I
think might be related to intermittently incorrect behaviour of the
contacts API.
Here's what I'm seeing.
1. addon does a POST request to create a new contact
2. http response:
http status: 201
<?xml version='1.0' encoding='UTF-8'?>
<entry ...>
<id>...</id>
<updated>2011-03-04T19:49:30.918Z</updated>
...
</entry>
3. addon does a GET request to get recently updated contacts:
GET .../thin?max-results=3000&
showdeleted=true&
updated-min=2011-03-04T19:49:24.611Z
4. http response:
http status: 201
<feed>...</feed>
The problem is that the <feed> at step 4 doesn't contact the <entry>
returned at step 2. And it should, because the GET updated-min is
earlier than the <updated/> element at step 2. And to anticipate a
question: "no, the response at step 4 doesn't contain 3000 entries".
When I try to reproduce this behaviour myself I can't. But I have
several bug reports from users where the pattern described above is
repeated. So it feels to me like some intermittent issue within the API
whereby a POST immediately followed by a GET occasionally fails to
return a recently created contact.
Thoughts? Suggestions?
Leni
--
You received this message because you are subscribed to the Google
Groups "Google Contacts, Shared Contacts and User Profiles APIs" 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://code.google.com/apis/contacts/community/forum.html