Notifications not being expired on Pleroma

When I attempt to expire notifications on my Pleroma instance, mastodon-archive returns 403 errors from the server:

Expiring 1/36('Mastodon API returned error', 403, 'Forbidden', 'Cannot dismiss notification')

Pleroma server logs report this:

[info] POST /api/v1/notifications/dismiss
[info] Sent 403 in 10ms

I'm not sure if the problem is in mastodon-archive, mastodonpy, or pleroma itself. I attempted to use print() to output information regarding the notifications, but I can't get mastodon-archive to cough up the info. Maybe you'll have better luck diagnosing this.

In my search, I found the core code that performs this stuff:

https://git.pleroma.social/pleroma/pleroma/blob/develop/lib/pleroma/notification.ex#L70

https://mastodonpy.readthedocs.io/en/stable/_modules/mastodon/Mastodon.html#Mastodon.notifications_dismiss

EDIT: I forgot to mention that the notifications are all mentions, using mastodon-archive expire --collection mentions zlg@social.zlg.space

Tags: Open

Close issue

Comments

As I don't have access to Pleroma, somebody else will have to take a look.

– Alex Schroeder 2018-10-03 12:35 UTC


This wiki uses a variant of Markdown.

To save this page you must answer this question:

Please write "new issue" into the field below.