Delete label API call returns 1000 on attempt to delete non-existant label.

18 views
Skip to first unread message

Jay Lee

unread,
Jun 14, 2012, 2:45:40 PM6/14/12
to google-app...@googlegroups.com
I'm noticing that the Delete Gmail label API call returns a 1000 error if the label doesn't exist in the user's mailbox. 1000 normally means unknown/temporary error, backoff and try again so my app does so and get's delayed in the process.

Should the call be returning 1301 - Entity does not exist when the label does not exist in the user mailbox?

Jay

Claudio Cherubino

unread,
Jun 14, 2012, 3:15:35 PM6/14/12
to google-app...@googlegroups.com
Hi Jay,

Can you file a bug for this in our issue tracker?


If you can add the XML request and response that would be great.
Thanks

Claudio


Jay

--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/0QB4aY6a594J.
To post to this group, send email to google-app...@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-apps-mgmt-apis?hl=en.

Jay Lee

unread,
Jun 14, 2012, 3:31:11 PM6/14/12
to google-app...@googlegroups.com
Done.

Thanks Claudio.

Jay


On Thursday, June 14, 2012 3:15:35 PM UTC-4, Claudio Cherubino wrote:
Hi Jay,

Can you file a bug for this in our issue tracker?


If you can add the XML request and response that would be great.
Thanks

Claudio

On Thu, Jun 14, 2012 at 11:45 AM, Jay Lee <jay...@gmail.com> wrote:
I'm noticing that the Delete Gmail label API call returns a 1000 error if the label doesn't exist in the user's mailbox. 1000 normally means unknown/temporary error, backoff and try again so my app does so and get's delayed in the process.

Should the call be returning 1301 - Entity does not exist when the label does not exist in the user mailbox?

Jay

--
You received this message because you are subscribed to the Google Groups "Google Apps Domain Information and Management APIs" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-apps-mgmt-apis/-/0QB4aY6a594J.
To post to this group, send email to google-apps-mgmt-apis@googlegroups.com.
To unsubscribe from this group, send email to google-apps-mgmt-apis+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages