diff --git a/src/HttpServerBodyCommand.cc b/src/HttpServerBodyCommand.cc index 93b52c1f..2f7bc7da 100644 --- a/src/HttpServerBodyCommand.cc +++ b/src/HttpServerBodyCommand.cc @@ -117,7 +117,7 @@ void HttpServerBodyCommand::sendJsonRpcResponse switch(res.code) { case 1: // error caught while executing RpcMethod - httpCode = 200; + httpCode = 400; break; case -32600: httpCode = 400;