I'm using the C# 1.2.3 library to import email to Google Apps. I'm
seeing a problem where the feed returned by the Batch() function is
missing messages that have "400"  or "503"errors. This is an issue
because you need the error code to correctly handle those messages.

Test Case #1:
I create a batch with a single message that has a bad Date in the
header.
Result: the returned feed has one entry with an error of 400. This is
correct.

Test Case #2:
I create a batch with a two message. The first has a bad Date in the
header, the second message is well-formed.
Result: the returned feed has one entry with an success code of 201. I
believe that the return feed should have two messages so as to be
consistent with the result from Test Case #1.

Test Case #3:
I create a batch with 100 messages, all well-formed. (This batch often
generates a 503 error.)
Result: the returned feed has a varying number of entries. The last
entry is marked with a 503 error. All of the following entries are
missing from the feed. This seems wrong to me, but the expected
behavior does not appear to be documented.

So both Test #2 and Test #3 are missing entries in the returned feed,
but the required handling is different for each. Since it's possible
that the behaviors of #2 and #3 can be combined, it's not possible to
determine the "correct" way to handle a missing message.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Apps 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://groups.google.com/group/google-apps-apis?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to