Page MenuHomePhabricator

Misleading 404 error status when encountering PHP API issues
Closed, DuplicatePublic

Description

This url returns 404:
http://parsoid-lb.eqiad.wikimedia.org/enwiki/Big_Blues?oldid=562876508

It shouldn't, the page and revision exist:
https://en.wikipedia.org/w/index.php?title=Big_Blues&oldid=562876508

It seems to be a problem with template, error message is:
DoesNotExistError: Template Fetch failure for Big_Blues


Version: unspecified
Severity: major

Details

Reference
bz58390

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:16 AM
bzimport added a project: Parsoid-Web-API.
bzimport set Reference to bz58390.

Odd, the parsoid URL works for me. The same is true at http://parsoid.wmflabs.org/enwiki/Big_Blues?oldid=562876508. A possibility is that the MediaWiki API we rely on had some temporary issue.

I just tested that scenario by stopping a backend API, and it turns out that a backend fetch failure is misreported as a 404 rather than an error signaling the temporary nature of the problem.

marcoil added a project: Parsoid.
marcoil set Security to None.