Jdlrobson added a comment. I can't reproduce the code that was causing the issue. The only thing actionable I can suggest to make this easier for frontend developers is in the error message returned by this API when complaining about an invalid token state whether it is the token itself or the centralauth token provided with it.
TASK DETAIL https://phabricator.wikimedia.org/T77952 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Jdlrobson Cc: Aklapper, Jdlrobson, hoo, Addshore, aude, daniel, JanZerebecki, Stype_and_Co.-WMF, Anomie, aaron, Wikidata-bugs, Legoktm _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs