Page MenuHomePhabricator

MediaWiki\Api\ApiUsageException: The centralauthtoken is not valid.
Open, Needs TriagePublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   MediaWiki\Api\ApiUsageException: The centralauthtoken is not valid.
FrameLocationCall
from/srv/mediawiki/php-1.44.0-wmf.20/includes/api/ApiUsageException.php(83)
#0/srv/mediawiki/php-1.44.0-wmf.20/extensions/CentralAuth/includes/session/CentralAuthApiSessionProvider.php(57)MediaWiki\Api\ApiUsageException::newWithMessage(null, string, string)
#1/srv/mediawiki/php-1.44.0-wmf.20/extensions/CentralAuth/includes/session/CentralAuthTokenSessionProvider.php(97)CentralAuthApiSessionProvider->makeBogusSessionInfo(string, string)
#2/srv/mediawiki/php-1.44.0-wmf.20/extensions/CentralAuth/includes/session/CentralAuthApiSessionProvider.php(74)CentralAuthTokenSessionProvider->provideSessionInfo(MediaWiki\Request\WebRequest)
#3/srv/mediawiki/php-1.44.0-wmf.20/includes/session/SessionManager.php(492)CentralAuthApiSessionProvider->provideSessionInfo(MediaWiki\Request\WebRequest)
#4/srv/mediawiki/php-1.44.0-wmf.20/includes/session/SessionManager.php(198)MediaWiki\Session\SessionManager->getSessionInfoForRequest(MediaWiki\Request\WebRequest)
#5/srv/mediawiki/php-1.44.0-wmf.20/includes/Request/WebRequest.php(870)MediaWiki\Session\SessionManager->getSessionForRequest(MediaWiki\Request\WebRequest)
#6/srv/mediawiki/php-1.44.0-wmf.20/includes/session/SessionManager.php(149)MediaWiki\Request\WebRequest->getSession()
#7/srv/mediawiki/php-1.44.0-wmf.20/includes/Setup.php(509)MediaWiki\Session\SessionManager::getGlobalSession()
#8/srv/mediawiki/php-1.44.0-wmf.20/includes/WebStart.php(85)require_once(string)
#9/srv/mediawiki/php-1.44.0-wmf.20/api.php(37)require(string)
#10/srv/mediawiki/w/api.php(3)require(string)
#11{main}

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

12 events in the last 7 days. This is user error (or maybe timeout or store lookup failure or something like that; in any case, at this volume it's quite normal) but for some reason the API fails to handle it, and so it ends up as a raw exception instead of being presented to the user as an API error message.