TheScienceMuseum / heritage-connector

Heritage Connector: Transforming text into data to extract meaning and make connections
https://www.sciencemuseumgroup.org.uk/projects/heritage-connector
MIT License
21 stars 3 forks source link

figure out issue with neighbours API #364

Closed kdutia closed 2 years ago

kdutia commented 3 years ago

we're getting a 404 which is raised when the request entity isn't its own neighbour in /neighbours. This problem seems difficult to reproduce locally. I've temporarily disabled the 404 on the EC2 machine and it seems to work.

Also, the neighbours column of the metadata explorer could fail more gracefully, rather than bringing the whole UI down with Internal Server Error

example entity: http://www.wikidata.org/entity/Q836805