Skip to content

fix: JsonRPC errors should have a 'data' field not a 'details' field.#790

Merged
kabir merged 1 commit intoa2aproject:mainfrom
ehsavoie:jsonrpc_error
Apr 10, 2026
Merged

fix: JsonRPC errors should have a 'data' field not a 'details' field.#790
kabir merged 1 commit intoa2aproject:mainfrom
ehsavoie:jsonrpc_error

Conversation

@ehsavoie
Copy link
Copy Markdown
Collaborator

No description provided.

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the JSON-RPC error response serialization in JSONRPCUtils.java to use the data field instead of details, aligning with JSON-RPC 2.0 standards. Feedback indicates that the deserialization logic in processError remains unchanged and still expects the details field, which could cause issues when processing responses. It is recommended to update the parsing logic and include a test case to ensure consistency.

Signed-off-by: Emmanuel Hugonnet <ehugonne@redhat.com>
@kabir kabir merged commit 98d2bdb into a2aproject:main Apr 10, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants