Page MenuHomePhabricator

Echo Chamber API error: You don't have permission
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • Go to Echo Chamber
  • Click the "Download" button next to All wikis or any specific wiki, like enwiki.

What happens?:
For All wikis, this error message appears:
abstractwiki: API error: (code: echo-read-notifications): You don't have permission to $1.

image.png (1,412×996 px, 138 KB)

A file is downloaded, but it contains only the following text:
{"error":"API error: (code: echo-read-notifications): You don't have permission to $1.","wiki":"abstractwiki"}

When I try enwiki instead, I get a slightly different error message:
enwiki: API error: (code: echo-read-notifications): You don't have permission to $1.
In the text file:
{"error":"API error: (code: echo-read-notifications): You don't have permission to $1.","wiki":"enwiki"}

What should have happened instead?:
I should have been able to download all of my notifications.

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):
Chromium browser. Screenshot is above.

Event Timeline

Please don't delete any notifications (5 years or older or any other) before this tool has been functional for at least a while!

The tool was linked in some within-wiki post on Village pump technical boards but apparently it didn't work at that time either and affected users with eg 100+ edits and 5+ notifications about to be archived would best be notified.

This now needs to be fixed on the tool's side (expanding the Echo Chamber OAuth consumer's scope to include "read my notifications" should be sufficient). This can be done by the tool's maintainer at https://meta.wikimedia.org/wiki/Special:OAuthConsumerRegistration.

Legoktm added a subscriber: bd808.

Thanks @bd808 for approving, the tool should be usable again.