I am running a full node, bitcoin core 22. It is not in pruned mode.
But when I try to run RPC getblockstats
call I get this.
$ bitcoin-cli getblockstats 0
error code: -1
error message:
Can't read undo data from disk
I don't have any error with block 1. And I tested it in two different nodes in two different machines, and I get the same error.
Why this happens?