Hey folks, I am new to arize and was setting it up for traces, and at a later time wanted to annotate the traces
so i had setup a small sample as below
import os
import pandas as pd
from arize.pandas.logger import Client
arize_client = Client(space_id=SPACE_ID, api_key=API_KEY)
# Create annotation data
TARGET_SPAN_ID = "d25d7e1293822685"
annotation_data = {
"context.span_id": [TARGET_SPAN_ID],
"annotation.quality.label": ["good"],
}
annotations_df = pd.DataFrame(annotation_data)
# Log annotations
response = arize_client.log_annotations(
dataframe=annotations_df,
project_name=PROJECT_NAME,
validate=True,
verbose=True
)
print(response)
It was working fine yesterday
but today started getting this error
Error logging annotation data to Arize
Traceback (most recent call last):
File "/Users/lehar/projects/arize-demo/venv/lib/python3.13/site-packages/arize/pandas/logger.py", line 1773, in _log_arrow_flight
with flight_writer:
^^^^^^^^^^^^^
File "pyarrow/ipc.pxi", line 543, in pyarrow.lib._CRecordBatchWriter.__exit__
File "pyarrow/_flight.pyx", line 1238, in pyarrow._flight.MetadataRecordBatchWriter.close
File "pyarrow/_flight.pyx", line 55, in pyarrow._flight.check_flight_status
pyarrow._flight.FlightInternalError: Flight returned internal error, with message: failed to write WriteSpanAnnotationRequest. gRPC client debug context: UNKNOWN:Error received from peer ipv4:34.117.96.240:443 {created_time:"2025-05-30T19:07:54.724097+05:30", grpc_status:13, grpc_message:"failed to write WriteSpanAnnotationRequest"}. Client context: OK
Could use help debugging this.
Thanks in advance