List messages platform api get different result in different time

Hi there,

I need count daily message data group by channel, user and custom type. I follow the doc suggest, via the List messages. I found that I got the different result in different time.

any suggestion for this problem?

Hello Tim, thanks for reaching out.

I need your help to reproduce the error in this CodeSandbord or any other place you prefer:

  1. Share your implementation in an online hosted place where we can run it.
  2. Use the CodeSandbox we shared with you and please complete with what’s necessary to reproduce the error.

customer-sensestar - CodeSandbox (I’ve added some inputs in the comments)

Let me know your thoughts here.