What happened?
The spec does not specify what is the content-type for errors for the HTTP+JSON transport, application/json or application/problem+json.
Given that errors now follows https://google.aip.dev/193 instead of RFC 9457, I'd assume that application/json is the right content type for error responses
#1600 seems to be the cause of this missing information (the mention of application/problem+json was removed in this PR).
Note that there are still 2 error examples with application/problem+json in the spec:
while another error example now uses application/json:
If there is an agreement, I propose to:
Relevant log output
Code of Conduct
What happened?
The spec does not specify what is the content-type for errors for the HTTP+JSON transport,
application/jsonorapplication/problem+json.Given that errors now follows https://google.aip.dev/193 instead of RFC 9457, I'd assume that
application/jsonis the right content type for error responses#1600 seems to be the cause of this missing information (the mention of
application/problem+jsonwas removed in this PR).Note that there are still 2 error examples with
application/problem+jsonin the spec:while another error example now uses
application/json:If there is an agreement, I propose to:
use
application/sonconsistently for JSON-RPC and HTTP+JSON error examplesUpdate
A2A/docs/specification.md
Line 2212 in 1736957
A2A/docs/specification.md
Line 2729 in 1736957
Relevant log output
Code of Conduct