# Attempting to bookmark a moderator-removed comment returns "You are not permitted to view the requested resource."

**URL:** https://meta.discourse.org/t/attempting-to-bookmark-a-moderator-removed-comment-returns-you-are-not-permitted-to-view-the-requested-resource/389456
**Category:** Bug
**Tags:** bookmarks
**Created:** [November 24, 2025, 12:28pm UTC](https://meta.discourse.org/t/attempting-to-bookmark-a-moderator-removed-comment-returns-you-are-not-permitted-to-view-the-requested-resource/389456 "2025-11-24T12:28:14Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![roke\_julian\_lockhart](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roke_julian_lockhart/32/540179_2.png) [@roke\_julian\_lockhart](https://meta.discourse.org/u/roke_julian_lockhart)
#### Post date: [November 24, 2025, 12:28pm UTC](https://meta.discourse.org/t/attempting-to-bookmark-a-moderator-removed-comment-returns-you-are-not-permitted-to-view-the-requested-resource/389456/1 "2025-11-24T12:28:15Z")

</div>

When I select `//*[@id="ember38"]` at [`discussion.fedoraproject.org/t/173585/35`](https://discussion.fedoraproject.org/t/is-most-recent-mesa-push-to-stable-mesa-25-2-7-2-fc43-reasonable/173585/35#post_35:~:text=This%20post%20was%20flagged%20by%20the%20community%20and%20is%20temporarily%20hidden.):

> ****
>
> > ```HTML
> > <button class="btn no-text btn-icon fk-d-menu __trigger bookmark-menu-trigger post-action-menu__ bookmark btn-flat bookmark widget-button bookmark-menu__trigger btn-icon no-text" aria-expanded="false" title="bookmark this post" data-identifier="bookmark-menu" data-trigger="" type="button" id="ember38">
> > <svg class="fa d-icon d-icon-bookmark svg-icon svg-string" aria-hidden="true" xmlns="http://www.w3.org/2000/svg"><use href="#bookmark"></use></svg> <span aria-hidden="true">
> > ​
> > </span>
> > <!---->    
> > </button>
> > 
> > ```

…I see:

> An error occurred: You are not permitted to view the requested resource.

> ****
>
> ![](https://global.discourse-cdn.com/meta/original/4X/8/6/b/86b3b255532e161ca5846f0bfb474eb7358f7755.png)

The ECMAScript console returns:

> ```log
> 12:24:12.798 XHRPOST
> https://discussion.fedoraproject.org/bookmarks.json
> [HTTP/2 403 160ms]
> 
> 12:24:04.683 Uncaught (in promise) TypeError: can't access property "saveData", e is undefined
> create bookmark-api.js:20
> create post-bookmark-manager.js:36
> onBookmark bookmark-menu.gjs:124
> onShowMenu bookmark-menu.gjs:147
> show float-kit-instance.js:28
> show d-menu-instance.js:101
> onTrigger d-menu-instance.js:136
> onClick d-menu-instance.js:120
> bookmark-api.js:20:7
> 
> ```

Instead, it should be hidden, or (perhaps, better yet), disabled.

---

<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 24, 2025, 2:07pm UTC](https://meta.discourse.org/t/attempting-to-bookmark-a-moderator-removed-comment-returns-you-are-not-permitted-to-view-the-requested-resource/389456/2 "2025-11-24T14:07:12Z")

</div>

I suggested hiding the bookmark icon in that case in January:

> [@Hide bookmark from post menu on hidden posts](https://meta.discourse.org/t/hide-bookmark-from-post-menu-on-hidden-posts/347855):
>
> Bookmarking does not work on posts that have been hidden because of flags. I think the experience would improve if the bookmark button were hidden from the post menu in this case, similar to how the ‘like’ button is.

---

<div class="post-metadata">

### Author: ![roke\_julian\_lockhart](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roke_julian_lockhart/32/540179_2.png) [@roke\_julian\_lockhart](https://meta.discourse.org/u/roke_julian_lockhart)
#### Post date: [November 24, 2025, 2:20pm UTC](https://meta.discourse.org/t/attempting-to-bookmark-a-moderator-removed-comment-returns-you-are-not-permitted-to-view-the-requested-resource/389456/3 "2025-11-24T14:20:11Z")

</div>

@Moin, should this be closed as a duplicate of it, then (or the other way around)?

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [November 24, 2025, 2:23pm UTC](https://meta.discourse.org/t/attempting-to-bookmark-a-moderator-removed-comment-returns-you-are-not-permitted-to-view-the-requested-resource/389456/4 "2025-11-24T14:23:25Z")

</div>

A post was merged into an existing topic: [Hide bookmark from post menu on hidden posts](https://meta.discourse.org/t/hide-bookmark-from-post-menu-on-hidden-posts/347855)

---

<div class="post-metadata">

### Author: ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)
#### Post date: [November 24, 2025, 2:23pm UTC](https://meta.discourse.org/t/attempting-to-bookmark-a-moderator-removed-comment-returns-you-are-not-permitted-to-view-the-requested-resource/389456/5 "2025-11-24T14:23:39Z")

</div>


