Leloiandudu added a comment.
I experience the same error intermittently with my bot. To test this I wrote
code that sends the same query in a loop and sometimes it gets the correct
reply from the server while sometimes this happens:
{
"batchcomplete": "",
"warnings": {
"query": {
"*": "Unrecognized value for parameter \"meta\": userinfo"
}
}
}
This is the request I'm sending repeatedly (as POST body) to
`https://ru.wikipedia.org/w/api.php`:
`meta=userinfo&action=query&continue=&format=json`
TASK DETAIL
https://phabricator.wikimedia.org/T266078
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Leloiandudu
Cc: Leloiandudu, matej_suchanek, zhuyifei1999, Xqt, Ladsgroup, Aklapper,
Urbanecm, pywikibot-bugs-list, JohnsonLee01, SHEKH, Dijkstra, Khutuck,
Killarnee, Zkhalido, CptViraj, Examknow, Dibya, Viztor, 94rain, DannyS712,
Wenyi, Tks4Fish, Awangba_Mangang, JunaidHafeez, Jayprakash12345, Tbscho, MayS,
Acer, Kizule, Mdupont, JJMC89, DatGuy, Devwaker, Niklitov, Dvorapa,
Altostratus, Avicennasis, JEumerus, Ananthsubray, Superzerocool, Tulsi_Bhagat,
Wong128hk, Luke081515, SimmeD, mys_721tx, Snowolf, Dcljr, Koavf, jayvdb,
Ricordisamoa, Masti, Rschen7754, Alchimista, Billinghurst, Matanya, Mbch331,
jhsoby, Rxy, Jay8g, Krenair, Dzahn
_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs