wellcomecollection / catalogue-api

:crystal_ball: The API for searching the Wellcome Collection catalogue.
https://developers.wellcomecollection.org
MIT License
3 stars 0 forks source link

Guard against "Head of empty list" errors in Sierraitemupdater #759

Closed paul-butcher closed 4 months ago

paul-butcher commented 4 months ago

We keep getting alerted to 5xx errors occurring when an item has no accessConditions. https://wellcome.slack.com/archives/CQ720BG02/p1709821702412539

https://wellcome.slack.com/archives/CQ720BG02/p1709817801997699

pollecuttn commented 4 months ago

I can't see status or access - is that my internet or a problem for us? image

pollecuttn commented 4 months ago

But I can see them on the OPAC: image

paul-butcher commented 4 months ago

I can't see status or access - is that my internet or a problem for us?

Yes, I think that is our problem. I think this will fix that, but there may be something sending us dodgy data elsewhere.