gmail api returning total messages as 0 for a particular Label

前端 未结 1 790
臣服心动
臣服心动 2021-02-10 09:21

I have been using the \"Get Label\" API to get the details of a particular Label.

It was all working until the last couple of days.

What I now observe is that th

相关标签:
1条回答
  • 2021-02-10 09:51

    As noted in the comments to the question, there's an apparent bug in the API as reported here.

    FWIW I'm running into the same issue.

    In my case I have three accounts, all created programmatically by the same code, all containing messages inserted programmatically by the same code. The get label API repeatably reports the correct number of messages for one account while erroneously reporting zero messages for the other two accounts. Viewing the account in the web interface shows all the messages in all the accounts as expected.

    0 讨论(0)
提交回复
热议问题