Package io.a2a.spec

Interface A2AErrorCodes


public interface A2AErrorCodes
All the error codes for A2A errors.
  • Field Details

    • TASK_NOT_FOUND_ERROR_CODE

      static final int TASK_NOT_FOUND_ERROR_CODE
      Error code indicating the requested task was not found (-32001).
      See Also:
    • TASK_NOT_CANCELABLE_ERROR_CODE

      static final int TASK_NOT_CANCELABLE_ERROR_CODE
      Error code indicating the task cannot be canceled in its current state (-32002).
      See Also:
    • PUSH_NOTIFICATION_NOT_SUPPORTED_ERROR_CODE

      static final int PUSH_NOTIFICATION_NOT_SUPPORTED_ERROR_CODE
      Error code indicating push notifications are not supported by this agent (-32003).
      See Also:
    • UNSUPPORTED_OPERATION_ERROR_CODE

      static final int UNSUPPORTED_OPERATION_ERROR_CODE
      Error code indicating the requested operation is not supported (-32004).
      See Also:
    • CONTENT_TYPE_NOT_SUPPORTED_ERROR_CODE

      static final int CONTENT_TYPE_NOT_SUPPORTED_ERROR_CODE
      Error code indicating the content type is not supported (-32005).
      See Also:
    • INVALID_AGENT_RESPONSE_ERROR_CODE

      static final int INVALID_AGENT_RESPONSE_ERROR_CODE
      Error code indicating the agent returned an invalid response (-32006).
      See Also:
    • EXTENDED_AGENT_CARD_NOT_CONFIGURED_ERROR_CODE

      static final int EXTENDED_AGENT_CARD_NOT_CONFIGURED_ERROR_CODE
      Error code indicating extended agent card is not configured (-32007).
      See Also:
    • EXTENSION_SUPPORT_REQUIRED_ERROR

      static final int EXTENSION_SUPPORT_REQUIRED_ERROR
      Error code indicating client requested use of an extension marked as required: true in the Agent Card but the client did not declare support for it in the request (-32008).
      See Also:
    • VERSION_NOT_SUPPORTED_ERROR_CODE

      static final int VERSION_NOT_SUPPORTED_ERROR_CODE
      Error code indicating the A2A protocol version specified in the request (via A2A-Version service parameter) is not supported by the agent (-32009).
      See Also:
    • INVALID_REQUEST_ERROR_CODE

      static final int INVALID_REQUEST_ERROR_CODE
      JSON-RPC error code for invalid request structure (-32600).
      See Also:
    • METHOD_NOT_FOUND_ERROR_CODE

      static final int METHOD_NOT_FOUND_ERROR_CODE
      JSON-RPC error code for method not found (-32601).
      See Also:
    • INVALID_PARAMS_ERROR_CODE

      static final int INVALID_PARAMS_ERROR_CODE
      JSON-RPC error code for invalid method parameters (-32602).
      See Also:
    • INTERNAL_ERROR_CODE

      static final int INTERNAL_ERROR_CODE
      JSON-RPC error code for internal server errors (-32603).
      See Also:
    • JSON_PARSE_ERROR_CODE

      static final int JSON_PARSE_ERROR_CODE
      JSON-RPC error code for JSON parsing errors (-32700).
      See Also: