Steps to reproduce:
- Browse to a lexeme, e.g. https://www.wikidata.org/wiki/Lexeme:L10
- Click "Download as PDF" in the left sidebar, to invoke ElectronPDF.
- This presents a "technical problems" notice. Click "Download".
https://www.wikidata.org/api/rest_v1/page/pdf/Lexeme%3AL10 returns an HTTP 404 error and the following JSON,
{"type":"https://mediawiki.org/wiki/HyperSwitch/errors/not_found#route","title":"Not found.","method":"get","uri":"/www.wikidata.org/v1/page/pdf/Lexeme%3AL10"}