print(client.is_ready())
And got a problem while inserting :
{‘message’: ‘Failed to send all objects in a batch of 7’, ‘error’: “WeaviateInsertManyAllFailedError(‘Every object failed during insertion. Here is the set of all errors: Google API Key: no api key found neither in request header: X-Palm-Api-Key or X-Goog-Api-Key or X-Goog-Vertex-Api-Key or X-Goog-Studio-Api-Key nor in environment variable under PALM_APIKEY or GOOGLE_APIKEY’)”}
what should I do ?
The problem occurs while inserting the data in the database.
for chunk_obj in tqdm(chunk_objs_list, desc=f"Processing {json_file}"):
uuid = generate_uuid5(chunk_obj)
batch.add_object(
properties=chunk_obj,
uuid=uuid,
)
the error:
{'message': 'Failed to send all objects in a batch of 5', 'error': "WeaviateInsertManyAllFailedError('Every object failed during insertion. Here is the set of all errors: Google API Key: no api key found neither in request header: X-Palm-Api-Key or X-Goog-Api-Key or X-Goog-Vertex-Api-Key or X-Goog-Studio-Api-Key nor in environment variable under PALM_APIKEY or GOOGLE_APIKEY')"}
{'message': 'Failed to send 5 objects in a batch of 5. Please inspect client.batch.failed_objects or collection.batch.failed_objects for the failed objects.'}
I understand. I’m checking with you whether the headers are being passed correctly when you connect to the Weaviate client with the cluster.
On my side, I’m able to ingest data with the Google vectorizer and can’t reproduce the issue, so something unusual is happening. I’m trying to narrow it down from your end.
That’s unusual. Are you running Weaviate locally or in our cloud?
If it’s a local deployment, could you share the full files of ingesting and creating schema (take our your keys - I will add mine from testing evn) and deployment setup with me? If it’s on our cloud, I can access it internally. I’ll mirror everything exactly as you have it, including the deployment.