Page MenuHomePhabricator

ApiEchoUnreadNotificationPages::getUnreadNotificationPagesFromForeign: Unexpected API response from {wiki}
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
ApiEchoUnreadNotificationPages::getUnreadNotificationPagesFromForeign: Unexpected API response from {wiki}
exception.trace
Impact

~ 22 events in the last day

Notes

The data returned by the error log contains "code": "badtoken" in all events

"data": {
      "servedby": "mw1400",
      "docref": "См. https://ru.wikinews.org/w/api.php для использования API. Подпишитесь на электронную рассылку MediaWiki API на <https://lists.wikimedia.org/postorius/lists/mediawiki-api-announce.lists.wikimedia.org/>, чтобы получать информацию о неподдерживаемых функциях и ломающих изменениях.",
      "errors": [
        {
          "code": "badtoken",
          "html": "Токен CentralAuth недействителен."
        }
      ]
    }

Some more context for the logged data rECHO36c65d8fa835: Log ApiEchoUnreadNotificationPages bad responses

Details

Request URL
https://commons.wikimedia.org/w/api.php?format=*&formatversion=*&errorformat=*&errorsuselocal=*&action=query&meta=*&unplimit=*&unpwikis=*

Event Timeline

tstarling claimed this task.

A burst of these errors was an expected effect of the switchover to a new store, since the new store starts empty, we didn't copy it in from Redis. We considered that to be an acceptable degradation. Within a few hours the rates returned to the usual background level seen before the switchover, with 4 errors since June 30.