# Error thrown when viewing a user's list of deleted posts

**URL:** https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961
**Category:** Bug
**Created:** [November 9, 2025, 11:13am UTC](https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961 "2025-11-09T11:13:50Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [November 9, 2025, 11:13am UTC](https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961/1 "2025-11-09T11:13:50Z")

</div>

Running Discourse 3.6.0.beta3-latest ([bd135646c3](https://github.com/discourse/discourse/commits/bd135646c3e53831c8558a9d42a9b9c6fa309990))

* * *

An error pops up when reaching the end of the deleted-posts list for a user.

**Steps to repro:**

1. View the profile of any user that has some deleted posts
2. Scroll to the very bottom of the list of their deleted posts at `https://example.com/u/username/deleted-posts`

**What should happen?**

Nothing.

**What does happen?**

An error is thrown:

 ![Whoops](https://global.discourse-cdn.com/meta/original/4X/f/6/5/f65ee0bc25df13ac806cbde5aa80154bfd2d3864.png)

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [November 10, 2025, 7:16pm UTC](https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961/2 "2025-11-10T19:16:21Z")

</div>

Can you reproduce here on meta? I can’t, tried as admin with 2-3 different users.

---

<div class="post-metadata">

### Author: ![jessii](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jessii/32/354015_2.png) [@jessii](https://meta.discourse.org/u/jessii)
#### Post date: [November 10, 2025, 7:29pm UTC](https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961/3 "2025-11-10T19:29:20Z")

</div>

@pmusaraj I was about to write up a bug report for this. I can reproduce on Meta and my test site

Sometimes you have to scroll a lot to get the error message:

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [November 10, 2025, 7:30pm UTC](https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961/4 "2025-11-10T19:30:22Z")

</div>

Ah, cool. Can you see if there is a matching error reported in `/logs` or in the browser’s console?

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [November 10, 2025, 7:32pm UTC](https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961/6 "2025-11-10T19:32:06Z")

</div>

I can’t repro on Meta (deleted topics are only visible for admins) but I can repro on my forum.

Seems the error appears when I get close to the last deleted posts

 ![image](https://global.discourse-cdn.com/meta/original/4X/a/8/5/a85bea0612d75afbf17bba11da3ff791124a8e43.png)

Nothing in /logs

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [November 10, 2025, 7:33pm UTC](https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961/7 "2025-11-10T19:33:33Z")

</div>

Thanks @Moin and @jessii. Can you share what the request is when the error pops up? It should be highlighted in red in the Network tab.

---

<div class="post-metadata">

### Author: ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)
#### Post date: [November 10, 2025, 7:37pm UTC](https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961/9 "2025-11-10T19:37:43Z")

</div>

Sorry, I cannot spot anything

---

<div class="post-metadata">

### Author: ![pmusaraj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pmusaraj/32/119489_2.png) [@pmusaraj](https://meta.discourse.org/u/pmusaraj)
#### Post date: [November 10, 2025, 7:40pm UTC](https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961/10 "2025-11-10T19:40:17Z")

</div>

No worries, we will have a look shortly. Thanks.

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [November 10, 2025, 9:19pm UTC](https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961/12 "2025-11-10T21:19:16Z")

</div>

> [@jessii](#):
>
> Sometimes you have to scroll a lot to get the error message

As per my repro steps, you just need to scroll to the bottom of the list 😃

---

<div class="post-metadata">

### Author: ![saquetim](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/saquetim/32/116400_2.png) [@saquetim](https://meta.discourse.org/u/saquetim)
#### Post date: [November 10, 2025, 9:34pm UTC](https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961/13 "2025-11-10T21:34:24Z")

</div>

The error will be addressed by:

[https://github.com/discourse/discourse/pull/35952](https://github.com/discourse/discourse/pull/35952)

---

<div class="post-metadata">

### Author: ![Richie](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/richie/32/115110_2.png) [@Richie](https://meta.discourse.org/u/Richie)
#### Post date: [November 10, 2025, 10:00pm UTC](https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961/14 "2025-11-10T22:00:21Z")

</div>

Another _ridiculously_ quick fix from Discourse 🙇

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [November 11, 2025, 9:00pm UTC](https://meta.discourse.org/t/error-thrown-when-viewing-a-users-list-of-deleted-posts/387961/15 "2025-11-11T21:00:33Z")

</div>

This topic was automatically closed after 19 hours. New replies are no longer allowed.
