When sending messages continuously, some messages are not posted

When sending messages in a short cycle by Zoom Chat API (POST /chat/users/{userId}/messages), some messages are not posted.
For example, when sending 0 to 1000 messages every 0.1 seconds:

0 to 45: posted
46 to 290: not posted
291 to 304: posted
305 to 829: not posted
830 to 859: posted
860 to 1000: not posted.

The response for all messages is 201 instead of 429 (rate limit), and even for not posted messages, the response body contains the message ID.
However, when requesting the ID of a not posted message to /chat/users/{userId}/messages/{messageId}, the following response is returned: (*** is messageId)

{"code":5401,"message":"Message does not exist: ***."}

My code to send messages is below.

var request = require('request');

let access_token = ***
let channel_id = ***

function send_chat_messages(message){
  var options = {
    method: "POST",
    url: "https://api.zoom.us/v2/chat/users/me/messages",
    rejectUnauthorized: false,
    headers: {
      authorization: "Bearer " + access_token,
      "Content-type": "application/json",
    json: {
      message: message,
      to_channel: channel_id
  request(options, function (error, response, body) {
    if (error) throw new Error(error);

var i = 0;
var interval_id = setInterval(() => {
  if (i == 1000){
  console.log(i, new Date())
}, 100)

Hi @J.tanaka

Thanks for reaching out to the Zoom Developer Forum, I am happy to help here!
This seems like a strange behavior, can you open a support ticket with this information so we can investigate this issue further?


Hi @elisa.zoom

Thank you for your support.
I opened a support ticket (https://support.zoom.us/hc/en-us/requests/13887950).
But when I issued a ticket with the same content before (https://support.zoom.us/hc/en-us/requests/13813622), I was told to post it to the Devforum, so I posted it.

1 Like

Thanks @J.tanaka I see.
Allow me some time to debug this issue and I will come back to you with an update.

Hi @elisa.zoom
Has there been any progress about that?

Hi @J.tanaka
Sorry for the late reply, I have replied you in the internal ticket you created.
I will take it from there!