Cannot clear notification from "gitcoin-dev/gitcoin.com" #174310
-
Select Topic AreaBug BodyThe user, repo behind the spam seems to be deleted, however the resulting notification cannot be cleared or marked as read |
BetaWas this translation helpful?Give feedback.
Replies: 37 comments 52 replies
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
BetaWas this translation helpful?Give feedback.
-
BetaWas this translation helpful?Give feedback.
-
It should be cleared now. Both issue created by the bot and the repo are gone. |
BetaWas this translation helpful?Give feedback.
-
I'm having the same issue with a notification from |
BetaWas this translation helpful?Give feedback.
-
Mine is It's very annoying. |
BetaWas this translation helpful?Give feedback.
-
I couldn't find any way to remove this notification. This is incredibly bad experience. |
BetaWas this translation helpful?Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@KSXGitHub your solution worked! For anyone wanting to use this:
![]()
![]()
curl -L \ -X PUT \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer $TOKEN" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/notifications \ -d '{"last_read_at": null,"read":true}' |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Simple clear for notifications if you have curl -L \ -X PUT \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer $(gh auth token)" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/notifications \ -d '{"last_read_at": null,"read":true}' |
BetaWas this translation helpful?Give feedback.
-
Also having this issue. Is there a way to prevent unknown repos from adding you and then @ you in their comments? |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It should not be marked as answered, it should be resolved by github. https://github.com/orgs/community/discussions/174246#discussioncomment-14480778
|
BetaWas this translation helpful?Give feedback.
-
I'm seeing this as well. There is no way to clear the notifications. ![]() |
BetaWas this translation helpful?Give feedback.
-
This is affecting me as well: ![]()
|
BetaWas this translation helpful?Give feedback.
-
I'm getting same issue ![]() |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This will clear out all notification threads, including those stuck in the Repositories section. |
BetaWas this translation helpful?Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
Similar to above but using a GitHub Action Workflow, create a GitHub Token (via GitHub -> Developer Settings -> Token Classic -> Notifications (read/write)), then go under any of your project, add name: Clear notifications (bash) on: workflow_dispatch: # run manually from the Actions UI jobs: clear: runs-on: ubuntu-latest steps: - name: Mark all notifications as read env: GH_TOKEN: ${{secrets.GH_TOKEN }} run: | curl -X PUT \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer $GH_TOKEN" \ https://api.github.com/notifications |
BetaWas this translation helpful?Give feedback.
-
https://github.com/orgs/community/discussions/174283#discussioncomment-14527039 you can use this uvx fown auth loginuvx fown noti delete -r |
BetaWas this translation helpful?Give feedback.
-
can't believe this is known for over a year and there's no fix from github....can it be raised as a bug they should fix somehow? |
BetaWas this translation helpful?Give feedback.
-
Re-open this issue, it is not fixed! I'm not creating a token just to fix githubs bug. |
BetaWas this translation helpful?Give feedback.
-
no way to fix this without installing github's CLI? |
BetaWas this translation helpful?Give feedback.
-
Hey @blacksmithop, I recently ran into the same issue — leftover notification from a deleted repo 🤖 Here’s another way to manually remove the stuck notification using the GitHub CLI: # List all notifications and locate the thread ID gh api /notifications # Once you have the thread ID, run this to remove it gh api --method DELETE /notifications/threads/THREAD_ID🔍 You might need to scroll through the list if you have a lot of notifications, but once you get the correct
If this helped, feel free to check out my GitHub: hetdabhi and drop a follow for more useful tips 💙 |
BetaWas this translation helpful?Give feedback.
-
This issue is definitely not "answered" - Github needs to fix this themselves, I shouldn't need to use the API manually to fix this. |
BetaWas this translation helpful?Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
ME TOO |
BetaWas this translation helpful?Give feedback.
-
Very annoying. Please fix this instead of letting us calling the DELETE API manually. |
BetaWas this translation helpful?Give feedback.
-
UP, fix that shit! |
BetaWas this translation helpful?Give feedback.
-
I guess this won't be fixed any time soon. GH is forced to move to azure, and that's their no. 1 priority for the next 12 months, according to their CTO. On azure, it can only get better /sarcasm |
BetaWas this translation helpful?Give feedback.
-
Found an easier solution. Android users, download diohub from play store, login, go to notifications, tap on the stuck notification. That's it. It will now be cleared! |
BetaWas this translation helpful?Give feedback.
-
Did this get fixed? I suddenly don't have any unread notifications. |
BetaWas this translation helpful?Give feedback.









@ardaguclu thank you! A slightly easier delete command: