After lag, a POST request should be re-executed and not converted to GET:
[2021-06-09 01:16:41][!DEBUG!] POST https://commons.wikimedia.org/w/api.php [SENSITIVE DATA HIDDEN] [2021-06-09 01:16:41][DEBUG] waiting 0.20 seconds [2021-06-09 01:16:41][DEBUG] HTTP/1.0 200 OK [2021-06-09 01:16:41][WARN] Lag! (https://commons.wikimedia.org/w/api.php) Waiting for 10.64.48.231: 5.514866 seconds lagged. [2021-06-09 01:16:41][DEBUG] GET https://commons.wikimedia.org/w/api.php?assertuser=VolleyballBot&maxlag=5&format=json&title=Category%3AAndrea+Di+Coste&text=%7B%7BWikidata+Infobox%7D%7D%0A%5B%5BCategory%3AMen%27s+volleyball+players+from+Italy%5D%5D&summary=%5B%5BCommons%3ABots%2FRequests%2FValerio+Bozzolan+bot%7Cuniforming+Legavolley+players%5D%5D+%2B%5B%5BTemplate%3AWikidata+Infobox%5D%5D%3B+%2B%5B%5BCategory%3AMen%27s+volleyball+players+from+Italy%5D%5D&bot=1&action=edit&token=<omitted> [2021-06-09 01:16:41][WARN] wait and retry (1 of 8) [2021-06-09 01:16:41][DEBUG] waiting 5.00 seconds [2021-06-09 01:16:46][DEBUG] HTTP/1.0 200 OK PHP Fatal error: Uncaught mw\API\Exception: API error code: 'mustpostparams' info: 'The following parameter was found in the query string, but must be in the POST body: token.' in boz-mw/include/class-mw\API\Exception.php:76 Stack trace: