Skip to content

Bug: ghost notifications #6874

Answered by djc
jackrosenthal asked this question in General
Oct 28, 2021 · 27 comments · 76 replies
Discussion options

You must be logged in to vote

I filed a GitHub support issue about this and got a response with a pretty good workaround:

The curl command below will mark all of your notifications as read and, with any luck, will take care of that phantom message for you.​

curl -X PUT
    -H "Accept: application/vnd.github.v3+json" \
    -H "Authorization: token $TOKEN" \
     https://api.github.com/notifications \
    -d '{"last_read_at":"2022-05-31T00:00:00Z"}'

A few things to note:

Replies: 27 comments 76 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@thinkjrs
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@Lockszmith-GH
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@Lockszmith-GH
Comment options

@Seggan
Comment options

Comment options

You must be logged in to vote
14 replies
@Wrandz
Comment options

@robert-hh
Comment options

@ST-DDT
Comment options

@Dirreke
Comment options

@AntoineVDV
Comment options

Comment options

You must be logged in to vote
16 replies
@Lockszmith-GH
Comment options

@Swoorup
Comment options

@ukmo-ccbunney
Comment options

@imkingdavid
Comment options

@KeremKoksal
Comment options

Comment options

You must be logged in to vote
1 reply
@Lockszmith-GH
Comment options

Comment options

You must be logged in to vote
3 replies
@Lockszmith-GH
Comment options

@solhuebner
Comment options

@Lockszmith-GH
Comment options

Comment options

You must be logged in to vote
2 replies
@Lockszmith-GH
Comment options

@AliMD
Comment options

Comment options

You must be logged in to vote
20 replies
@Taowyoo
Comment options

@aiven-anton
Comment options

@ClayShoaf
Comment options

@Zartaj0
Comment options

@KnightChaser
Comment options

Answer selected by Akash1134
Comment options

You must be logged in to vote
2 replies
@Zer0-Official
Comment options

@JamesVanWaza
Comment options

Comment options

You must be logged in to vote
3 replies
@JamesVanWaza
Comment options

@Anonymitaet
Comment options

@Anonymitaet
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@BartMassey
Comment options

@BartMassey
Comment options

@Sama-004
Comment options

Comment options

You must be logged in to vote
7 replies
@J08nY
Comment options

@Dirreke
Comment options

@FR98
Comment options

@ShayBox
Comment options

@Ghabry
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ShayBox
Comment options

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working correctly Notifications Keep track of everything happening across all your projects General