Error
Request ID: XCuxnApAEDUAAGEsPEgAAADP
{ "error": { "code": "internal_api_error_InvalidArgumentException", "info": "[XCuxnApAEDUAAGEsPEgAAADP] Caught exception of type InvalidArgumentException", "errorclass": "InvalidArgumentException" }, "servedby": "mw1288" }
{ "action": "query", "format": "json", "maxlag": "5", "list": "logevents", "leuser": "Reaper Eternal", "lelimit": "5000" }
2019-01-01 18:29:49 [XCuxnApAEDUAAGEsPEgAAADP] mw1288 enwiki 1.33.0-wmf.9 exception ERROR: [XCuxnApAEDUAAGEsPEgAAADP] /w/api.php InvalidArgumentException from line 383 of /srv/mediawiki/php-1.33.0-wmf.9/includes/api/ApiResult.php: Cannot add object to ApiResult {"exception_id":"XCuxnApAEDUAAGEsPEgAAADP","exception_url":"/w/api.php","caught_by":"mwe_handler"} [Exception InvalidArgumentException] (/srv/mediawiki/php-1.33.0-wmf.9/includes/api/ApiResult.php:383) Cannot add object to ApiResult #0 /srv/mediawiki/php-1.33.0-wmf.9/includes/api/ApiResult.php(371): ApiResult::validateValue(object) #1 /srv/mediawiki/php-1.33.0-wmf.9/includes/api/ApiResult.php(371): ApiResult::validateValue(array) #2 /srv/mediawiki/php-1.33.0-wmf.9/includes/api/ApiResult.php(411): ApiResult::validateValue(array) #3 /srv/mediawiki/php-1.33.0-wmf.9/includes/api/ApiQueryLogEvents.php(249): ApiResult->addValue(array, NULL, array) #4 /srv/mediawiki/php-1.33.0-wmf.9/includes/api/ApiQuery.php(249): ApiQueryLogEvents->execute() #5 /srv/mediawiki/php-1.33.0-wmf.9/includes/api/ApiMain.php(1595): ApiQuery->execute() #6 /srv/mediawiki/php-1.33.0-wmf.9/includes/api/ApiMain.php(531): ApiMain->executeAction() #7 /srv/mediawiki/php-1.33.0-wmf.9/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling() #8 /srv/mediawiki/php-1.33.0-wmf.9/api.php(87): ApiMain->execute() #9 /srv/mediawiki/w/api.php(3): include(string) #10 {main}
Impact
Notes
- Query done from a bot account
- Changing lelimit to 1000 does not give the same error.