You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running the @a2a-project/a2a-tck I got a few discrepancy on JSONRPC error mapping compared to JSONRPC 2.0 spec
Analysis of the issues:
Test case 0 - Missing jsonrpc field:
- TCK expects: -32600 (Invalid Request) ✅ CORRECT
- SUT returns: -32602 (Invalid params) ❌ INCORRECT
- Verdict: SUT is wrong - missing jsonrpc makes the request invalid per JSON-RPC spec
Test case 3 - Invalid id type:
- TCK expects: -32600 (Invalid Request) ✅ CORRECT
- SUT returns: 500 HTTP error ❌ MAJOR BUG
- Verdict: SUT is wrong - it should return -32600, not crash with 500
Test case 4 - Invalid params type:
- TCK expects: -32602 (Invalid params) ✅ CORRECT
- SUT returns: -32600 (Invalid Request) ❌ INCORRECT
- Verdict: SUT is wrong - when params is wrong type, it's invalid params, not invalid request
Activity
maeste commentedon Aug 20, 2025
Another issue on canceling task: Incorrect Error Code for Completed Task Cancellation
task
(TaskNotCancelableError)
maeste commentedon Aug 20, 2025
Another issue: in "task/get" the paramether "historyLength" is acceppted but ignored
fix: fixing JSONRPC error mapping (#414)