# Empty reqId when receive message update event

**URL:** <https://community.sendbird.com/t/empty-reqid-when-receive-message-update-event/4098>\
**Category:** JavaScript\
**Created:** [March 7, 2022, 4:49am UTC](https://community.sendbird.com/t/empty-reqid-when-receive-message-update-event/4098 "2022-03-07T04:49:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Peter\_Cheng](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/peter_cheng/32/1814_2.png) [@Peter\_Cheng](https://community.sendbird.com/u/Peter_Cheng)\
**Post date:** [March 7, 2022, 4:49am UTC](https://community.sendbird.com/t/empty-reqid-when-receive-message-update-event/4098/1 "2022-03-07T04:49:22Z")

</div>

HI,

I’m facing empty `reqId` problem when I update message metadata through rest api.

Step to reproduce.

1. Setup event listener

```auto
var channelHandler = new sb.ChannelHandler();
channelHandler.onMessageUpdated = function(channel, message) {
   console.log(message.messageId, message.reqId)
};

```

1. Send new message to a group channel
2. Update message via rest api

```auto
Request:

PUT https://xxx.sendbird.com/v3/group_channels/{group_id}/messages/{messageId}
{
    "message_type": "MESG",
    "data": {NEW_METADATA}
}
Response:
{
   ...,
   "req_id": "{MESSAGE_REQ_ID}"
}

```

1. Check console, `reqId` become empty.

refs

```auto
"sendbird": "3.1.8"

```

Thank you

---

<div class="post-metadata">

**Author:** ![walter.rodriguez](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/walter.rodriguez/32/546_2.png) [@walter.rodriguez](https://community.sendbird.com/u/walter.rodriguez)\
**Post date:** [March 7, 2022, 9:47am UTC](https://community.sendbird.com/t/empty-reqid-when-receive-message-update-event/4098/2 "2022-03-07T09:47:20Z")

</div>

Hi there @Peter_Cheng  
Sent DM asking about this data and check internally.
