Skip to main content

Module code

Module code 

Source
Expand description

JSON-RPC error codes.

Constantsยง

INVALID_PARAMS
Invalid parameters.
INVALID_REQUEST
Not a valid request.
METHOD_NOT_FOUND
Unknown method.
NOT_CANCELABLE
A2A: the task cannot be cancelled.
PARSE
Invalid JSON.
REFUSED
okbot: the request is refused (links, depth, deadline, limits).
TASK_NOT_FOUND
A2A: no such task.
VERSION_NOT_SUPPORTED
A2A: the version is not supported.