Skip to content

422 Unprocessable Entity in versions 2.6.0, 2.7.0, 2.8.0 when trying to save an eval case #7019

Description

@shivammathur33

🔴 Required Information

Please ensure all items in this section are completed to allow for efficient
triaging. Requests without complete information may be rejected / deprioritized.
If an item is not applicable to you - please mark it as N/A

Describe the Bug:
#6336 seems to still persist in versions 2.6.0, 2.7.0, 2.8.0.
Upon trying to edit an eval case on an existing eval set, and hitting save (on the top right) this error is seen:
HTTP/1.1" 422 Unprocessable Entity

Steps to Reproduce:
Similar to in #6336 but adding steps anyway:

  • adk web
  • Go to localhost:8000
  • Create a new session
  • Once agent responds, got to evals tab and create a new eval (+ new)
  • Open eval set, and hit +current session (adds the session to eval set)
  • Once added, session shows in the evalset, hit edit and try to edit some message in the session
  • Once edit done, hit save on the top right
  • Save does not happen. I see this on the logs: HTTP/1.1" 422 Unprocessable Entity

Expected Behavior:
The eval set should update the eval case and give 200 OK

Observed Behavior:
HTTP/1.1" 422 Unprocessable Entity

Environment Details:

  • ADK Library Version (pip show google-adk): 2.6.0, 2.7.0, 2.8.0
  • Desktop OS:** macOS
  • Python Version (python -V): 3.11.6

Model Information:

  • Are you using LiteLLM: No
  • Which model is being used: gemini-2.5-pro

🟡 Optional Information

Providing this information greatly speeds up the resolution process.

Regression:
Did this work in a previous version of ADK? If so, which one?
no

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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