Page MenuHomePhabricator

Internal server error when trying to retrieve page HTML
Closed, ResolvedPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • query https://kn.wikisource.org/api/rest_v1/page/html/ಟೆಂಪ್ಲೇಟು:Is_year
  • query https://fa.wikipedia.org/api/rest_v1/page/html/الگو:نقشه_دقیق_جنگ_داخلی_سوریه

What happens?:
It returns 500 status code with:

{
    "type": "https://mediawiki.org/wiki/HyperSwitch/errors/unknown_error",
    "method": "get",
    "uri": "/kn.wikisource.org/v1/page/html/%E0%B2%9F%E0%B3%86%E0%B2%82%E0%B2%AA%E0%B3%8D%E0%B2%B2%E0%B3%87%E0%B2%9F%E0%B3%81%3AIs_year"
}
{
    "type": "https://mediawiki.org/wiki/HyperSwitch/errors/unknown_error",
    "method": "get",
    "uri": "/fa.wikipedia.org/v1/page/html/%D8%A7%D9%84%DA%AF%D9%88%3A%D9%86%D9%82%D8%B4%D9%87_%D8%AF%D9%82%DB%8C%D9%82_%D8%AC%D9%86%DA%AF_%D8%AF%D8%A7%D8%AE%D9%84%DB%8C_%D8%B3%D9%88%D8%B1%DB%8C%D9%87"
}

Note that the pages exist:

  • https://kn.wikisource.org/wiki/ಟೆಂಪ್ಲೇಟು:Is_year
  • https://fa.wikipedia.org/wiki/الگو:نقشه_دقیق_جنگ_داخلی_سوریه

What should have happened instead?:
Successful retrieval of HTML.