rpc: Return the right RPCErrorCode more consistently #36826

Open
maflcko wants to merge 6 commits from 2611-rpc-errors-consistent into master AGit
maflcko commented 2026-11-10 13:20:34 +00:00 (Migrated from github.com)

Currently, rpc code may return the wrong RPCErrorCode. This is perfectly fine, because they should be hit rarely in production.

However, it could be good to be self-consistent. (Otherwise, we could just remove the different error codes and return a single one)

So fix a few error codes:

  • An integral out-of-range is now RPC_TYPE_ERROR, not RPC_MISC_ERROR
  • Some invalid args are now RPC_INVALID_PARAMETER
  • Some transient issues or user-config issues are now RPC_MISC_ERROR
Currently, rpc code may return the wrong `RPCErrorCode`. This is perfectly fine, because they should be hit rarely in production. However, it could be good to be self-consistent. (Otherwise, we could just remove the different error codes and return a single one) So fix a few error codes: * An integral out-of-range is now `RPC_TYPE_ERROR`, not `RPC_MISC_ERROR` * Some invalid args are now `RPC_INVALID_PARAMETER` * Some transient issues or user-config issues are now `RPC_MISC_ERROR`
DrahtBot commented 2026-11-10 13:20:48 +00:00 (Migrated from github.com)

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

External sites

Reviews

See the guideline and AI policy for information on the review process.

Type Reviewers
ACK Zippo76

If your review is incorrectly listed, please copy-paste <!--meta-tag:bot-skip--> into the comment that the bot should ignore.

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #36990 (test: replace hard-coded RPC error codes by l0rinc)
  • #36753 (rpc: Report -rpcwhitelist denials as JSON-RPC errors by ryanofsky)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

LLM Linter (✨ experimental)

Possible places where named args for integral literals may be used (e.g. func(x, /*named_arg=*/0) in C++, and func(x, named_arg=0) in Python):

  • test/functional/feature_fee_estimation.py: assert_raises_rpc_error(-1, "Fee estimation disabled", self.nodes[0].estimatesmartfee, 2)

Possible places where comparison-specific test macros should replace generic comparisons:

  • src/univalue/test/object.cpp: BOOST_CHECK_THROW(v_negative.getInt<uint8_t>(), UniValue::type_error) → Prefer BOOST_CHECK_EXCEPTION(..., UniValue::type_error, HasReason{"JSON integer out of range"}).
  • src/univalue/test/object.cpp: BOOST_CHECK_THROW(v2.getInt<int>(), UniValue::type_error) → Prefer BOOST_CHECK_EXCEPTION(..., UniValue::type_error, HasReason{"<expected type-error message>"}).
  • src/univalue/test/object.cpp: BOOST_CHECK_THROW(v3.getInt<int64_t>(), UniValue::type_error) → Prefer BOOST_CHECK_EXCEPTION(..., UniValue::type_error, HasReason{"JSON integer out of range"}).
  • src/univalue/test/object.cpp: BOOST_CHECK_THROW(v4.getInt<int>(), UniValue::type_error) → Prefer BOOST_CHECK_EXCEPTION(..., UniValue::type_error, HasReason{"JSON integer out of range"}).
  • src/univalue/test/object.cpp: BOOST_CHECK_THROW(vals[0].getInt<int>(), UniValue::type_error) → Prefer BOOST_CHECK_EXCEPTION(..., UniValue::type_error, HasReason{"<expected type-error message>"}).

2026-11-12 13:50:40

<!--e57a25ab6845829454e8d69fc972939a--> The following sections might be updated with supplementary metadata relevant to reviewers and maintainers. <!--006a51241073e994b41acfe9ec718e94--> ### External sites * Code coverage & benchmarks: https://corecheck.dev/bitcoin/bitcoin/pulls/36826 * Ralph review <img src=https://review.fish.foo/assets/bitcoin/bitcoin/36826.png alt="Ralph review status"> https://git.fish.foo/bitcoin/bitcoin/pulls/36826#author-ralph <!--021abf342d371248e50ceaed478a90ca--> ### Reviews See [the guideline](https://github.com/bitcoin/bitcoin/blob/master/CONTRIBUTING.md#code-review) and [AI policy](https://github.com/bitcoin/bitcoin/blob/master/doc/AI_POLICY.md) for information on the review process. | Type | Reviewers | | ---- | --------- | | ACK | [Zippo76](https://github.com/bitcoin/bitcoin/pull/36826#pullrequestreview-5881640176) | If your review is incorrectly listed, please copy-paste <code>&lt;!--meta-tag:bot-skip--&gt;</code> into the comment that the bot should ignore. <!--174a7506f384e20aa4161008e828411d--> ### Conflicts Reviewers, this pull request conflicts with the following ones: * [#36990](https://github.com/bitcoin/bitcoin/pull/36990) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36990.svg"></sub> (test: replace hard-coded RPC error codes by l0rinc) * [#36753](https://github.com/bitcoin/bitcoin/pull/36753) <sub><img src="https://drahtbot.space/ack_count/bitcoin/bitcoin/36753.svg"></sub> (rpc: Report -rpcwhitelist denials as JSON-RPC errors by ryanofsky) If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first. <!--5faf32d7da4f0f540f40219e4f7537a3--> ### LLM Linter (✨ experimental) Possible places where named args for integral literals may be used (e.g. `func(x, /*named_arg=*/0)` in C++, and `func(x, named_arg=0)` in Python): - `test/functional/feature_fee_estimation.py`: `assert_raises_rpc_error(-1, "Fee estimation disabled", self.nodes[0].estimatesmartfee, 2)` Possible places where comparison-specific test macros should replace generic comparisons: - `src/univalue/test/object.cpp`: `BOOST_CHECK_THROW(v_negative.getInt<uint8_t>(), UniValue::type_error)` → Prefer `BOOST_CHECK_EXCEPTION(..., UniValue::type_error, HasReason{"JSON integer out of range"})`. - `src/univalue/test/object.cpp`: `BOOST_CHECK_THROW(v2.getInt<int>(), UniValue::type_error)` → Prefer `BOOST_CHECK_EXCEPTION(..., UniValue::type_error, HasReason{"<expected type-error message>"})`. - `src/univalue/test/object.cpp`: `BOOST_CHECK_THROW(v3.getInt<int64_t>(), UniValue::type_error)` → Prefer `BOOST_CHECK_EXCEPTION(..., UniValue::type_error, HasReason{"JSON integer out of range"})`. - `src/univalue/test/object.cpp`: `BOOST_CHECK_THROW(v4.getInt<int>(), UniValue::type_error)` → Prefer `BOOST_CHECK_EXCEPTION(..., UniValue::type_error, HasReason{"JSON integer out of range"})`. - `src/univalue/test/object.cpp`: `BOOST_CHECK_THROW(vals[0].getInt<int>(), UniValue::type_error)` → Prefer `BOOST_CHECK_EXCEPTION(..., UniValue::type_error, HasReason{"<expected type-error message>"})`. <sup>2026-11-12 13:50:40</sup>
First-time contributor

🔵 Suggestion · Client-visible RPC error-code changes have no release note

Clients that branch on numeric RPC error codes will see changed responses for several failing requests after upgrading, but the PR adds no release note.

Location: src/univalue/include/univalue.h:150 (head).

🔵 Suggestion · The new internal-error rule excludes reachable, tested failures

The new “unreachable internal errors” rule conflicts with the pre-existing loadtxoutset precondition errors and its own datadir-corruption example.

Location: src/rpc/protocol.h:60 (head).

🔵 Suggestion · Several changed error classifications lack targeted assertions

Tests do not pin the changed classifications for invalid setban commands, out-of-range mockscheduler deltas, double overflow, or the coinstatsindex syncing error.

Location: src/rpc/net.cpp:824 (head).

Review coverage was incomplete.


Reviewed: face7839be2b · Review report · Previous reports

permalink

<!-- forgejo-review-bot:bitcoin/bitcoin --> <!-- ralph-engine:current:f3e06854f254c480580a263b00f5c6aaa804717e751da362d6c3a17a8fae78d3:eaa37ea1cdada8fdd806ab11180fd9e0f01062422d9d8c5ea7dcfd80d5014b95 --> <!-- ralph-base:6c7e464293b9cd9b14d24931de1bf86856ec737d --> <!-- ralph-head:face7839be2be95ba8940f93752d73d30cc59b77 --> <!-- ralph-case:2bee941b1a802954b1cac25a08cdf2504accaeb7547140714b6dc994338fbe02 --> **🔵 Suggestion · Client-visible RPC error-code changes have no release note** Clients that branch on numeric RPC error codes will see changed responses for several failing requests after upgrading, but the PR adds no release note. Location: [`src/univalue/include/univalue.h:150`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/face7839be2be95ba8940f93752d73d30cc59b77/src/univalue/include/univalue.h#L150>) (head). **🔵 Suggestion · The new internal-error rule excludes reachable, tested failures** The new “unreachable internal errors” rule conflicts with the pre-existing `loadtxoutset` precondition errors and its own datadir-corruption example. Location: [`src/rpc/protocol.h:60`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/face7839be2be95ba8940f93752d73d30cc59b77/src/rpc/protocol.h#L60>) (head). **🔵 Suggestion · Several changed error classifications lack targeted assertions** Tests do not pin the changed classifications for invalid `setban` commands, out-of-range `mockscheduler` deltas, double overflow, or the coinstatsindex syncing error. Location: [`src/rpc/net.cpp:824`](<https://git.fish.foo/bitcoin/bitcoin/src/commit/face7839be2be95ba8940f93752d73d30cc59b77/src/rpc/net.cpp#L824>) (head). Review coverage was incomplete. <!-- Review tier: standard --> --- Reviewed: [`face7839be2b`](<https://git.fish.foo/bitcoin/bitcoin/commit/face7839be2be95ba8940f93752d73d30cc59b77>) · [Review report](<https://review.fish.foo/report/36826-face7839be2be95ba8940f93752d73d30cc59b77-2579-6.html>) · [Previous reports](<https://review.fish.foo/traces/36826/>) [permalink](<https://review.fish.foo/report/36826-face7839be2be95ba8940f93752d73d30cc59b77-2579-6.html>)
DrahtBot commented 2026-11-11 13:04:42 +00:00 (Migrated from github.com)

🚧 At least one of the CI tasks failed.
Task iwyu: https://github.com/bitcoin/bitcoin/actions/runs/43024502508/job/130535654515
LLM reason (✨ experimental): CI failed because IWYU/clang-format modified src/rpc/mining.cpp, causing the clean-diff check to fail.

Hints

Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:

  • Possibly due to a silent merge conflict (the changes in this pull request being
    incompatible with the current code in the target branch). If so, make sure to rebase on the latest
    commit of the target branch.

  • A sanitizer issue, which can only be found by compiling with the sanitizer and running the
    affected test.

  • An intermittent issue.

Leave a comment here, if you need help tracking down a confusing failure.

<!--85328a0da195eb286784d51f73fa0af9--> 🚧 At least one of the CI tasks failed. <sub>Task `iwyu`: https://github.com/bitcoin/bitcoin/actions/runs/43024502508/job/130535654515</sub> <sub>LLM reason (✨ experimental): CI failed because IWYU/clang-format modified `src/rpc/mining.cpp`, causing the clean-diff check to fail.</sub> <details><summary>Hints</summary> Try to run the tests locally, according to the documentation. However, a CI failure may still happen due to a number of reasons, for example: * Possibly due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch. * A sanitizer issue, which can only be found by compiling with the sanitizer and running the affected test. * An intermittent issue. Leave a comment here, if you need help tracking down a confusing failure. </details>
DrahtBot commented 2026-11-11 16:32:28 +00:00 (Migrated from github.com)

🚧 At least one of the CI tasks failed.
Task iwyu: https://github.com/bitcoin/bitcoin/actions/runs/43054999350/job/130641963665
LLM reason (✨ experimental): CI failed because IWYU modified includes in src/rpc/external_signer.cpp, leaving a diff that the formatting/lint check rejects.

Hints

Try to run the tests locally, according to the documentation. However, a CI failure may still
happen due to a number of reasons, for example:

  • Possibly due to a silent merge conflict (the changes in this pull request being
    incompatible with the current code in the target branch). If so, make sure to rebase on the latest
    commit of the target branch.

  • A sanitizer issue, which can only be found by compiling with the sanitizer and running the
    affected test.

  • An intermittent issue.

Leave a comment here, if you need help tracking down a confusing failure.

<!--85328a0da195eb286784d51f73fa0af9--> 🚧 At least one of the CI tasks failed. <sub>Task `iwyu`: https://github.com/bitcoin/bitcoin/actions/runs/43054999350/job/130641963665</sub> <sub>LLM reason (✨ experimental): CI failed because IWYU modified includes in `src/rpc/external_signer.cpp`, leaving a diff that the formatting/lint check rejects.</sub> <details><summary>Hints</summary> Try to run the tests locally, according to the documentation. However, a CI failure may still happen due to a number of reasons, for example: * Possibly due to a silent merge conflict (the changes in this pull request being incompatible with the current code in the target branch). If so, make sure to rebase on the latest commit of the target branch. * A sanitizer issue, which can only be found by compiling with the sanitizer and running the affected test. * An intermittent issue. Leave a comment here, if you need help tracking down a confusing failure. </details>
maflcko commented 2026-11-11 16:38:55 +00:00 (Migrated from github.com)

(fixed ralph nit)

(fixed ralph nit) <!-- diff --git a/test/functional/wallet_signer.py b/test/functional/wallet_signer.py index 20a5a3f3fc..c5ebdce25a 100755 --- a/test/functional/wallet_signer.py +++ b/test/functional/wallet_signer.py @@ -196,6 +196,16 @@ class WalletSignerTest(BitcoinTestFramework): assert res["complete"] assert_equal(res["hex"], mock_tx) + self.log.info('Test external signer signing failure') + self.set_mock_result(self.nodes[1], "2") + assert_raises_rpc_error( + -25, + "External signer failed to sign", + hww.send, + outputs={dest: 0.5}, add_to_wallet=False, + ) + self.clear_mock_result(self.nodes[1]) + self.log.info('Test sendall using hww1') res = hww.sendall(recipients=[{dest:0.5}, hww.getrawchangeaddress()], add_to_wallet=False) diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index a6bbc30..9490077 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -3557,3 +3557,3 @@ static RPCMethod loadtxoutset() if (!activation_result) { - throw JSONRPCError(RPC_INTERNAL_ERROR, strprintf("Unable to load UTXO snapshot: %s. (%s)", util::ErrorString(activation_result).original, path.utf8string())); + throw JSONRPCError(RPC_MISC_ERROR, strprintf("Unable to load UTXO snapshot: %s. (%s)", util::ErrorString(activation_result).original, path.utf8string())); } diff --git a/test/functional/feature_assumeutxo.py b/test/functional/feature_assumeutxo.py index fa9466f..800826b 100755 --- a/test/functional/feature_assumeutxo.py +++ b/test/functional/feature_assumeutxo.py @@ -87,3 +87,3 @@ class AssumeutxoTest(BitcoinTestFramework): def expected_error(msg): - assert_raises_rpc_error(-32603, f"Unable to load UTXO snapshot: Population failed: {msg}", node.loadtxoutset, bad_snapshot_path) + assert_raises_rpc_error(-1, f"Unable to load UTXO snapshot: Population failed: {msg}", node.loadtxoutset, bad_snapshot_path) @@ -127,3 +127,3 @@ class AssumeutxoTest(BitcoinTestFramework): msg = f"Unable to load UTXO snapshot: assumeutxo block hash in snapshot metadata not recognized (hash: {bad_block_hash}). The following snapshot heights are available: 110, 200, 299." - assert_raises_rpc_error(-32603, msg, node.loadtxoutset, bad_snapshot_path) + assert_raises_rpc_error(-1, msg, node.loadtxoutset, bad_snapshot_path) @@ -171,3 +171,3 @@ class AssumeutxoTest(BitcoinTestFramework): msg = "Unable to load UTXO snapshot: The base block header (0c552ced4721c249a389eb9b08cb8da261cd46f0e7b5f9d064d48f3113406853) must appear in the headers chain. Make sure all headers are syncing, and call loadtxoutset again." - assert_raises_rpc_error(-32603, msg, node.loadtxoutset, valid_snapshot_path) + assert_raises_rpc_error(-1, msg, node.loadtxoutset, valid_snapshot_path) @@ -205,3 +205,3 @@ class AssumeutxoTest(BitcoinTestFramework): msg = "Unable to load UTXO snapshot: Can't activate a snapshot when mempool not empty" - assert_raises_rpc_error(-32603, msg, node.loadtxoutset, dump_output_path) + assert_raises_rpc_error(-1, msg, node.loadtxoutset, dump_output_path) @@ -219,3 +219,3 @@ class AssumeutxoTest(BitcoinTestFramework): msg = "Unable to load UTXO snapshot: Population failed: Work does not exceed active chainstate." - assert_raises_rpc_error(-32603, msg, node.loadtxoutset, dump_output_path) + assert_raises_rpc_error(-1, msg, node.loadtxoutset, dump_output_path) @@ -231,3 +231,3 @@ class AssumeutxoTest(BitcoinTestFramework): msg = "Unable to load UTXO snapshot: The base block header (0c552ced4721c249a389eb9b08cb8da261cd46f0e7b5f9d064d48f3113406853) is part of an invalid chain." - assert_raises_rpc_error(-32603, msg, node.loadtxoutset, dump_output_path) + assert_raises_rpc_error(-1, msg, node.loadtxoutset, dump_output_path) node.reconsiderblock(block_hash) @@ -279,3 +279,3 @@ class AssumeutxoTest(BitcoinTestFramework): msg = "A forked headers-chain with more work than the chain with the snapshot base block header exists. Please proceed to sync without AssumeUtxo." - assert_raises_rpc_error(-32603, msg, node1.loadtxoutset, dump_output_path) + assert_raises_rpc_error(-1, msg, node1.loadtxoutset, dump_output_path) # Cleanup: submit two more headers of the snapshot chain to node 1, so that it is the most-work chain again and loading @@ -756,3 +756,3 @@ class AssumeutxoTest(BitcoinTestFramework): msg = "Unable to load UTXO snapshot: Can't activate a snapshot-based chainstate more than once" - assert_raises_rpc_error(-32603, msg, n2.loadtxoutset, dump_output['path']) + assert_raises_rpc_error(-1, msg, n2.loadtxoutset, dump_output['path'])
Zippo76 (Migrated from github.com) reviewed 2026-11-12 08:03:41 +00:00
Zippo76 (Migrated from github.com) left a comment

tACK faf54f9c1b

Tested on macOS 27.2 arm64 (release build) against master c68583ab5a. The PR's rpc_net.py fails on master with Unexpected JSONRPC error code -1 and passes with this PR.

Case Calls tested Master PR
Integer out of range getblockhash 99999999999999999999, getblockhash -99999999999999999999, listtransactions "*" -1, addpeeraddress 1.2.3.4 65536 -1 -3
Invalid argument addnode 127.0.0.1:1 abc, setban 1.2.3.4 abc, mockscheduler 0 -1 -8
Simulated internal bug -named echo arg9=trigger_internal_bug -1 -32603
Fee estimation disabled (-blocksonly) estimatesmartfee 2, estimaterawfee 2 -32603 -1
Missing argument getblockhash -1 -1
Height out of range getblockhash 1000 -8 -8
Invalid block hash getblock abc -8 -8
Unknown method Nonexistent RPC method -32601 -32601
Help help getblockhash OK OK

Error messages were identical before and after in all tested error cases; only the codes changed where shown. The node remained running after the simulated internal bug in this release build.

tACK faf54f9c1b Tested on macOS 27.2 arm64 (release build) against master `c68583ab5a`. The PR's `rpc_net.py` fails on master with `Unexpected JSONRPC error code -1` and passes with this PR. | Case | Calls tested | Master | PR | |---|---|---:|---:| | Integer out of range | `getblockhash 99999999999999999999`, `getblockhash -99999999999999999999`, `listtransactions "*" -1`, `addpeeraddress 1.2.3.4 65536` | -1 | **-3** | | Invalid argument | `addnode 127.0.0.1:1 abc`, `setban 1.2.3.4 abc`, `mockscheduler 0` | -1 | **-8** | | Simulated internal bug | `-named echo arg9=trigger_internal_bug` | -1 | **-32603** | | Fee estimation disabled (`-blocksonly`) | `estimatesmartfee 2`, `estimaterawfee 2` | -32603 | **-1** | | Missing argument | `getblockhash` | -1 | -1 | | Height out of range | `getblockhash 1000` | -8 | -8 | | Invalid block hash | `getblock abc` | -8 | -8 | | Unknown method | Nonexistent RPC method | -32601 | -32601 | | Help | `help getblockhash` | OK | OK | Error messages were identical before and after in all tested error cases; only the codes changed where shown. The node remained running after the simulated internal bug in this release build.
maflcko commented 2026-11-12 13:50:42 +00:00 (Migrated from github.com)

Hmm, I dropped the last three commits on my last push. Maybe they can be done in the future, but for now they are likely not worth the squeeze, as they are ~impossible to review.

Hmm, I dropped the last three commits on my last push. Maybe they can be done in the future, but for now they are likely not worth the squeeze, as they are [~impossible](https://github.com/bitcoin/bitcoin/pull/36767#issuecomment-6818948178) to review.
Zippo76 (Migrated from github.com) reviewed 2026-11-12 20:36:57 +00:00
Zippo76 (Migrated from github.com) left a comment

tACK face7839be

Repeated all checks from my previous review on macOS 27.2.1 arm64 against master 9183edd25e, after the last three commits were removed. Results are unchanged except:

  • -named echo arg9=trigger_internal_bug now returns -1 on both master and this PR, consistent with the removed commits.
  • The additional check estimaterawfee 2 1e999 ("JSON double out of range") returns -1 on master and -3 with this PR.

The PR's rpc_net.py still fails on master and passes with this PR.

tACK face7839be Repeated all checks from my previous review on macOS 27.2.1 arm64 against master `9183edd25e`, after the last three commits were removed. Results are unchanged except: - `-named echo arg9=trigger_internal_bug` now returns -1 on both master and this PR, consistent with the removed commits. - The additional check `estimaterawfee 2 1e999` ("JSON double out of range") returns -1 on master and -3 with this PR. The PR's `rpc_net.py` still fails on master and passes with this PR.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
bitcoin/bitcoin!36826
No description provided.