Page MenuHomePhabricator

Wikidata mobileapps endpoints (summary/mobile-sections) throw 500
Closed, DuplicatePublic

Description

Per IRC locally when trying to access mobile-sections and summaries via wikidata.org a 500 is thrown. This does not appear to be enabled in production, so is not a big deal, but for completeness we should probably prevent these from 500ing even locally.

IRC conversation for prosperity:

jdlrobson> mdholloway: that said.. it shouldnt throw a 500 error :) http://0.0.0.0:6927/wikidata.org/v1/page/summary/Q1
1:34 PM "Cannot read property 'general' of undefined"
1:34 PM http://0.0.0.0:6927/wikidata.org/v1/page/mobile-sections/Q1
1:35 PM (we should disable for that host right?!)
1:35 PM mdholloway: should i raise a bug?
1:35 PM 
<mdholloway> Michael Holloway jdlrobson: please do!
1:35 PM thanks for catching that...
1:35 PM 
<jdlrobson> Jon Robson mdholloway: actually.. maybe it's fixed further up ? https://wikidata.org/api/rest_v1/page/mobile-sections/Q1
1:35 PM says that endoint is not available..
1:35 PM likewise: https://wikidata.org/api/rest_v1/page/summary