Skip to content

[Bug]: Trying to add thread id with underscores to annotation queue through Python SDK results in Unable to process JSON. Cannot deserialize value of type java.util.UUID from String #4947

@cparish312

Description

@cparish312

What component(s) are affected?

  • Opik Python SDK
  • Opik Typescript SDK
  • Opik Agent Optimizer SDK
  • Opik UI
  • Opik Server
  • Documentation

Opik version

  • Opik version: opik-1.9.101

Describe the problem

Getting "Unable to process JSON. Cannot deserialize value of type java.util.UUID from String" trying to add threads to an annotation queue through the python SDK.

I am able to add these same threads to a queue using the UI on comet.com. Are these not valid id names even though it let's you create with them and everything works through the UI?

opik_client.rest_client.annotation_queues.add_items_to_annotation_queue(
    id=queue_id,
    ids=[thread_id],
)

Reproduction steps and code snippets

No response

Error logs or stack trace

No response

Healthcheck results

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions