Skip to content

Bug: ghost notifications #6874

Answered by djc
jackrosenthal asked this question in General
Oct 28, 2021 · 28 comments · 102 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: 28 comments 102 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
17 replies
@Swoorup
Comment options

@ukmo-ccbunney
Comment options

@imkingdavid
Comment options

@KeremKoksal
Comment options

@luiswirth
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
33 replies
@luiswirth
Comment options

@MisterDA
Comment options

@Martii
Comment options

@MisterDA
Comment options

@Martii
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.

Comment options

You must be logged in to vote
12 replies
@Mikopet
Comment options

@Martii
Comment options

@Mikopet
Comment options

@Martii
Comment options

@JamesVanWaza
Comment options

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