enable-mastodon-apps icon indicating copy to clipboard operation
enable-mastodon-apps copied to clipboard

Notifications Are Empty

Open DeadSuperHero opened this issue 8 months ago • 3 comments

What: in any app using EMA, the Notifications tab fails to show any notifications. Tusky and Phanpy show me as being "All Caught Up", but Moshidon reveals a 500 error.

Timelines otherwise seem to be working fine.

Apps Tested: Tusky, Moshidon, Phanpy

Screenshots: Phanpy Image

Tusky Image

Moshidon Image

DeadSuperHero avatar Apr 17 '25 18:04 DeadSuperHero

Hm, I checked it for me and it works on my end. Could you turn on debug mode like this to see if you can spot the error there? See https://github.com/akirk/enable-mastodon-apps/wiki/Debugging-broken-HTTP-Requests

Although since it seems you're seeing a 500 error, could you also check your server logfile? Thanks!

akirk avatar Apr 19 '25 05:04 akirk

Hey @akirk, just following up on this!

Here's a chain of request logs, in chronological order:

Tusky [2025-05-16 04:48:02.137] 200 GET /api/v1/notifications?limit=30

params = {
    "limit": 30
}
current_user = 25798931
calls = {
    "class-mastodon-api.php:1801": "ensure_required_scope()",
    "class-mastodon-api.php:1922": "logged_in_permission()"
}

Tusky [2025-05-16 04:48:02.464] 200 GET /api/v1/timelines/home?since_id=60054&limit=30

params = {
    "limit": 30,
    "since_id": "60054"
}
current_user = 25798931
calls = {
    "class-mastodon-api.php:1801": "ensure_required_scope()",
    "class-mastodon-api.php:1922": "logged_in_permission()"
}

Debugger [2025-05-16 04:48:58.781] 401 GET /api/v1/notifications?limit=30&_wpnonce=899f463143&_pretty=1

params = {
    "limit": 30,
    "_wpnonce": "899f463143",
    "_pretty": "1"
}
current_user = 25798931
calls = {
    "class-mastodon-api.php:146": "reformat_error_response()",
    "class-mastodon-api.php:1803": "ensure_required_scope()"
}
errors = {
    "insufficient-permissions": "Insufficient permissions"
}
status = 401
user_agent = "Mozilla/5.0 (X11  Ubuntu  Linux x86_64  rv:138.0) Gecko/20100101 Firefox/138.0"

DeadSuperHero avatar May 16 '25 04:05 DeadSuperHero

We have same bug

Atn-D avatar Sep 01 '25 11:09 Atn-D