Gatsby Ghost blog with Algolia and Netlify


Good evening,
I’m trying to deploy my blog with gatsby and algolia on netlify.
In local it works perfectly.
When I try to do the depoly on netlify I have the following error:

3:03:30 AM: error failed to index to Algolia
3:03:30 AM:
3:03:30 AM: GraphQLError: Syntax Error: Unexpected Name "objectID"

The same thing if I put “id” in the query, or any other field.
How is it possible if it works locally?
Thank you


Maybe there’s some dependency on Netlify side which have a different version than yours that then triggers this error?