Error Codes

PgArachne returns standard JSON-RPC 2.0 error objects. Below are the specific codes you may encounter:

CodeMessageMeaning
-32700Parse errorInvalid JSON was received by the server.
-32601Method not foundThe function does not exist in the schema.
-32602Invalid paramsArguments do not match the function signature.
-32001Permission deniedThe current user role lacks privileges to execute the function (DB level).
-32000Internal ErrorGeneric server error (check logs).