Handle 404 error from algolia