From 03bb2f40e16e9ca94c61371f63f115c8db277513 Mon Sep 17 00:00:00 2001 From: Chris Chinchilla Date: Fri, 21 Feb 2020 13:06:20 +0000 Subject: [PATCH] [DOCS] Clarify calling non-whitelisted namespace (#20704) Co-authored-by: Felix Lange --- docs/_rpc/server.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/_rpc/server.md b/docs/_rpc/server.md index 1e5c6801b..064d742e4 100644 --- a/docs/_rpc/server.md +++ b/docs/_rpc/server.md @@ -31,8 +31,9 @@ The default listening port is 8545. You can customize address and port using the geth --rpc --rpcport 3334 JSON-RPC method namespaces must be whitelisted in order to be available through -the HTTP server. The default whitelist allows access to the "eth" and "shh" -namespaces. To enable access to other APIs like account management ("personal") +the HTTP server. An RPC error with error code `-32602` is generated if you call a +namespace that isn't whitelisted. The default whitelist allows access to the "eth" +and "shh" namespaces. To enable access to other APIs like account management ("personal") and debugging ("debug"), they must be configured via the `--rpcapi` flag. We do not recommend enabling such APIs over HTTP, however, since access to these methods increases the attack surface.