Multichill added a comment.
In T261050#6414369 <https://phabricator.wikimedia.org/T261050#6414369>, @Tgr wrote: > If the error is easy enough to reproduce, you could try setting the X-Wikimedia-Debug <https://wikitech.wikimedia.org/wiki/WikimediaDebug> header to get some pretty detailed logs. No, it's not, it seems to be intermittent. I added a bit more debugging code to my bot. When it hits the exception, it will print the current token, grab a new one and print the new one. The new and old tokens are the same so either the bot is not actually getting a new token or the api is returning the same one. I'll investigate a bit more. TASK DETAIL https://phabricator.wikimedia.org/T261050 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Multichill Cc: matej_suchanek, daniel, Krinkle, eprodromou, Tgr, Dvorapa, Xqt, Aklapper, Reedy, pywikibot-bugs-list, Multichill, JohnsonLee01, SHEKH, Naike, Dijkstra, CBogen, Khutuck, Zkhalido, WDoranWMF, Viztor, DannyS712, Wenyi, Amorymeltzer, Ramsey-WMF, Tbscho, MayS, Sethakill, Mdupont, JJMC89, dg711, Poyekhali, Agabi10, Altostratus, Taiwania_Justo, Avicennasis, Pchelolo, Ixocactus, Wong128hk, mys_721tx, Bawolff, El_Grafo, Dinoguy1000, jayvdb, Anomie, Masti, Alchimista, Steinsplitter, Rxy, Keegan, Legoktm
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs