MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

This response would be returned with HTTP status 1040 .
{
    "error": {
        "code": "internal_api_error_mysqli_sql_exception",
        "info": "[e29ad5febda6718d5eed1aaf] Exception caught: Too many connections",
        "*": "mysqli_sql_exception at /var/www/www.vistapedia.com/includes/libs/rdbms/database/DatabaseMysqli.php(114)\n#0 /var/www/www.vistapedia.com/includes/libs/rdbms/database/DatabaseMysqli.php(114): mysqli->real_connect()\n#1 /var/www/www.vistapedia.com/includes/libs/rdbms/database/DatabaseMysqlBase.php(128): Wikimedia\\Rdbms\\DatabaseMysqli->mysqlConnect()\n#2 /var/www/www.vistapedia.com/includes/libs/rdbms/database/Database.php(281): Wikimedia\\Rdbms\\DatabaseMysqlBase->open()\n#3 /var/www/www.vistapedia.com/includes/libs/rdbms/database/DatabaseMysqlBase.php(99): Wikimedia\\Rdbms\\Database->__construct()\n#4 /var/www/www.vistapedia.com/includes/libs/rdbms/database/Database.php(411): Wikimedia\\Rdbms\\DatabaseMysqlBase->__construct()\n#5 /var/www/www.vistapedia.com/includes/libs/rdbms/loadbalancer/LoadBalancer.php(952): Wikimedia\\Rdbms\\Database::factory()\n#6 /var/www/www.vistapedia.com/includes/libs/rdbms/loadbalancer/LoadBalancer.php(784): Wikimedia\\Rdbms\\LoadBalancer->reallyOpenConnection()\n#7 /var/www/www.vistapedia.com/includes/libs/rdbms/loadbalancer/LoadBalancer.php(663): Wikimedia\\Rdbms\\LoadBalancer->openConnection()\n#8 /var/www/www.vistapedia.com/includes/GlobalFunctions.php(3062): Wikimedia\\Rdbms\\LoadBalancer->getConnection()\n#9 /var/www/www.vistapedia.com/includes/changetags/ChangeTags.php(1219): wfGetDB()\n#10 /var/www/www.vistapedia.com/includes/libs/objectcache/WANObjectCache.php(1009): ChangeTags::{closure}()\n#11 /var/www/www.vistapedia.com/includes/libs/objectcache/WANObjectCache.php(911): WANObjectCache->doGetWithSetCallback()\n#12 /var/www/www.vistapedia.com/includes/changetags/ChangeTags.php(1215): WANObjectCache->getWithSetCallback()\n#13 /var/www/www.vistapedia.com/includes/changetags/ChangeTags.php(1197): ChangeTags::listExplicitlyDefinedTags()\n#14 /var/www/www.vistapedia.com/includes/api/ApiFeedContributions.php(206): ChangeTags::listDefinedTags()\n#15 /var/www/www.vistapedia.com/includes/api/ApiBase.php(2042): ApiFeedContributions->getAllowedParams()\n#16 /var/www/www.vistapedia.com/includes/api/ApiBase.php(721): ApiBase->getFinalParams()\n#17 /var/www/www.vistapedia.com/includes/api/ApiMain.php(1193): ApiBase->extractRequestParams()\n#18 /var/www/www.vistapedia.com/includes/api/ApiMain.php(1543): ApiMain->setupModule()\n#19 /var/www/www.vistapedia.com/includes/api/ApiMain.php(545): ApiMain->executeAction()\n#20 /var/www/www.vistapedia.com/includes/api/ApiMain.php(516): ApiMain->executeActionWithErrorHandling()\n#21 /var/www/www.vistapedia.com/api.php(83): ApiMain->execute()\n#22 {main}"
    }
}