Gatsby Algolia Netlify -> "objectID" error


#1

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


#2

Has anyone managed to solve? I’m trying any possible query.

I repeat that I have no problems locally, only when I try to use Netlify.

Could it be a problem with Netlify?