Skip to content

v0.3 REST client sends snake_case field names, so a2a-go rejects every send #1454

Closed

Description

@ConnorMoss02

Sending a message with the v0.3 REST client to a2a-go's v0.3 server fails with 400 "message is required". Streaming fails the same way.

The client sends proto field names:

{"request":{"message_id":"…","role":"ROLE_USER",…}}

The v0.3 spec (§3.2.2) requires json_name keys (message, messageId), and the old a2a-sdk 0.3.x sent those. The cause is preserving_proto_field_name=True in three MessageToDict calls in compat/v0_3/rest_transport.py. a2a-python's own server accepts both forms, which is why this only shows up against other servers.

main @ 2ba8e7b

Activity

  1. added a commit that references this issue on Nov 13, 2026
    2399993
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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