# API not returning messages for a channel

**URL:** <https://devforum.zoom.us/t/api-not-returning-messages-for-a-channel/124248>\
**Category:** Chat\
**Created:** [January 9, 2025, 3:04pm UTC](https://devforum.zoom.us/t/api-not-returning-messages-for-a-channel/124248 "2025-01-09T15:04:18Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![viraj.kanwade](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viraj.kanwade/32/65433_2.png) [@viraj.kanwade](https://devforum.zoom.us/u/viraj.kanwade)\
**Post date:** [January 9, 2025, 3:04pm UTC](https://devforum.zoom.us/t/api-not-returning-messages-for-a-channel/124248/1 "2025-01-09T15:04:18Z")

</div>

For some reason, I am not able to get any messages for a channel.

```auto
url = f"/v2/chat/users/{user_id}/messages/"
make_request_zoom(url, {"to_channel": channel_id, "from": "2018-01-01T00:00:00Z"})

```

I have tried with owner\_id as well as all other member ids. I have played around with the date also.

Still it just returns empty.

```auto
{'from': '2018-01-01T00:00:00Z',
 'to': '2025-01-09T14:58:11Z',
 'page_size': 10,
 'next_page_token': '',
 'messages': []}

```

I can confirm there are messages in this channel.

---

<div class="post-metadata">

**Author:** ![viraj.kanwade](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viraj.kanwade/32/65433_2.png) [@viraj.kanwade](https://devforum.zoom.us/u/viraj.kanwade)\
**Post date:** [January 9, 2025, 3:06pm UTC](https://devforum.zoom.us/t/api-not-returning-messages-for-a-channel/124248/2 "2025-01-09T15:06:08Z")

</div>

@gianni.zoom Can you please help here? I marked everything as backedup , but when the members checked it for confirmation, they mentioned the backup is empty.  
Now I am not sure, which of the other messages backup is also missing. And whatever messages we have so far, are they even complete set!

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [January 10, 2025, 5:38pm UTC](https://devforum.zoom.us/t/api-not-returning-messages-for-a-channel/124248/3 "2025-01-10T17:38:07Z")

</div>

Hi @viraj.kanwade  
Thank you for reaching out to us, are you still experiencing this issue?  
Have you tried narrowing the dates you are using? can you please test passing a months worth of messages, for example  
from 2024-12-01 to 2025-01-01

---

<div class="post-metadata">

**Author:** ![viraj.kanwade](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viraj.kanwade/32/65433_2.png) [@viraj.kanwade](https://devforum.zoom.us/u/viraj.kanwade)\
**Post date:** [January 11, 2025, 3:40am UTC](https://devforum.zoom.us/t/api-not-returning-messages-for-a-channel/124248/4 "2025-01-11T03:40:19Z")

</div>

Yes. Also, I am seeing more and more issues.

For some channels, some messages are returning files as  
‘files’: [{‘file\_id’: ‘XYZ’}]

while for the same message it previously used to be  
“files”: [{“file\_id”: “XYZ”, “file\_name”: “xyz.pdf”, “file\_size”: 1385911, “download\_url”: “[https://xyz.zoom.us/file/download/xyz](https://xyz.zoom.us/file/download/xyz)”}]

---

<div class="post-metadata">

**Author:** ![viraj.kanwade](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viraj.kanwade/32/65433_2.png) [@viraj.kanwade](https://devforum.zoom.us/u/viraj.kanwade)\
**Post date:** [January 11, 2025, 3:44am UTC](https://devforum.zoom.us/t/api-not-returning-messages-for-a-channel/124248/5 "2025-01-11T03:44:36Z")

</div>

Just realized, its the same issue I have seen before and which I still haven’t got any resolution.

> [@Chat message file info returns different data randomly](https://devforum.zoom.us/t/chat-message-file-info-returns-different-data-randomly/122788):
>
> Till yesterday, the files in chat was returned as: "files": [{ "file\_id": "XYZ", "file\_name": "Image 2024-10-22 at 104726.png", "file\_size": 154507, "download\_url": "https://XYZ.zoom.us/file/download/XYZ" }], Today, I am seeing only file id "files": [{ "file\_id": "XYZ", }],

---

<div class="post-metadata">

**Author:** ![viraj.kanwade](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/viraj.kanwade/32/65433_2.png) [@viraj.kanwade](https://devforum.zoom.us/u/viraj.kanwade)\
**Post date:** [January 11, 2025, 3:53am UTC](https://devforum.zoom.us/t/api-not-returning-messages-for-a-channel/124248/6 "2025-01-11T03:53:18Z")

</div>

I have updated the app scope and given all possible “read” permissions. Still no luck.

---

<div class="post-metadata">

**Author:** ![elisa.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/elisa.zoom/32/47836_2.png) [@elisa.zoom](https://devforum.zoom.us/u/elisa.zoom)\
**Post date:** [January 13, 2025, 4:26pm UTC](https://devforum.zoom.us/t/api-not-returning-messages-for-a-channel/124248/7 "2025-01-13T16:26:37Z")

</div>

hi @viraj.kanwade  
I am going to close the other thread and let’s just use this one for follow ups.  
I am not able to replicate any of this issues. I will send you a DM and please follow up there with more details
