I completed L6 at first all the way thru. I came back later to deepen my knowledge and ever since running it again it error in Lesson 6.
The first problem is it errors attempting to “re-create” the movie collection.
UnexpectedStatusCodeError: Collection may not have been created properly.! Unexpected status code: 422, with response body: {‘error’: [{‘message’: ‘class name “Movies” already exists’}]}.
If I skip this cell - the remaining cells work until midway through notebook.
This cell works:
Check for failed objects
if len(movies.batch.failed_objects) > 0:
print(f"Failed to import {len(movies.batch.failed_objects)} objects")
for failed in movies.batch.failed_objects:
print(f"e.g. Failed to import object with error: {failed.message}")
else:
print(“Import complete with no errors”)
and reports no errors.
But the remaining cells error:
_InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.UNKNOWN
details = “explorer: get class: vector search: object vector search at index movies: shard movies_Ddhxf4X9OmgR: vector search: knn search: distance between entrypoint and query node: got a nil or zero-length vector at docID 7”
debug_error_string = “UNKNOWN:Error received from peer {created_time:“2025-02-01T05:38:32.127011124+00:00”, grpc_status:2, grpc_message:“explorer: get class: vector search: object vector search at index movies: shard movies_Ddhxf4X9OmgR: vector search: knn search: distance between entrypoint and query node: got a nil or zero-length vector at docID 7”}”
or similar errors about NIL for vector distance