github.com/mxczkevm/mxc-geth@v1.9.7/rpc/testdata/invalid-badid.js (about) 1 // This test checks processing of messages with invalid ID. 2 3 --> {"id":[],"method":"test_foo"} 4 <-- {"jsonrpc":"2.0","id":null,"error":{"code":-32600,"message":"invalid request"}} 5 6 --> {"id":{},"method":"test_foo"} 7 <-- {"jsonrpc":"2.0","id":null,"error":{"code":-32600,"message":"invalid request"}}