Skip to content

v0.3 REST GetTask returns 500 for a non-integer historyLength #1381

Description

@ConnorMoss02

What happens

GET /v1/tasks/{id}?historyLength=abc on the v0.3 REST transport returns 500 INTERNAL with unknown exception. The v1.0 REST transport returns 400 INVALID_ARGUMENT for the same input.

Why

REST03Handler.on_get_task calls int() on the query value directly, and the ValueError is not mapped to an A2A error.

Version

main @ e12d494

Activity

  1. added
    component: serverIssues related to frameworks for agent execution, HTTP/event handling, database persistence logic.
    on Oct 27, 2026
  2. added theissue type on Oct 27, 2026
  3. added a commit that references this issue on Oct 27, 2026
    9c90c48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

component: serverIssues related to frameworks for agent execution, HTTP/event handling, database persistence logic.

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions