Chat Update API unable to update: Only the sender of this message can make updates

It seems like there are two sets of scopes for a message.

  • messages from user-managed via api - you can edit via api
  • messages from logged in user in chat - you can’t edit via api :crab:

Below is the result of /chat/users/{userId}/messages

{
  "messages": [
    {

## messages from user-managed via api

      "date_time": "2020-05-28T02:08:45Z",
      "id": "945c6655-68e3-4558-a3ab-51fd50198798",
      "message": "It's a beautiful day.",
      "sender": "******@***.com",
      "timestamp": 1590631725774
    },

## messages from logged in user in chat
    {
      "date_time": "2020-05-28T02:04:40Z",
      "id": "{AF57AB11-27E0-4A07-85E3-CB1B77924F35}",
      "message": "111-11-1111",
      "timestamp": 1590631480786
    }

The issue

When we try to update the id {AF57AB11-27E0-4A07-85E3-CB1B77924F35} it gives the following error:

 {
  "code": 200,
  "message": "Only the sender of this message can make updates."
}

What is expected:
A user who has given chat_message:write to an app should have the ability to modify their messages in chat.

Thanks for the detailed post @attock,

I will check to see if this is a bug. (ZOOM-165963)

Thanks,
Tommy

Hey @attock,

We have confirmed this is a bug. We have already begun working on a fix, and will release it later this month.

Stay updated here: https://marketplace.zoom.us/docs/changelog

Thanks,
Tommy

Thank you. Will be looking out for a fix as its major functionality for our app.

1 Like

You are welcome! :slight_smile:

Thanks,
Tommy

Hey @attock,

This will be fixed in a release this weekend.

Thanks,
Tommy

@tommy not seeing anything /chat/users in API Updates 06/14/2020 - but I’ll test again and let you know.

Hey @attock,

Please test and let me know! I do not think the change was listed on our changelog since it was a Zoom App change, not API change to allow this.

Thanks,
Tommy