the command "bitcoin-cli getblockstats 0000000000000000000c61ff8f761ce509fc8901d3c22d61fec89637042ea2ba" does not work.

It displays "error: Error parsing JSON:0000000000000000000c61ff8f761ce509fc8901d3c22d61fec89637042ea2ba"

but it should display the block stats like the documentation says.

also bitcoin-cli getblockstats 0 does not work. block number must be at least 1 to work. But blocks start at 0.

tested with 0.20.1 on freebsd, another user on IRC acknowledged the problem.
#include <uilrace.h>
#include <uilranslaion.h>
#include <validaioninerface.h>
#include <warnings.h>
#include <algorihm>
#include <casser>
#include <chrono>
#include <deque>
#include <numeric>
#include <opional>
#include <sring>
using kernel::CCoinsSas;
using kernel::CoinSasHashType;
using kernel::CompueUTXOSas;
using kernel::LoadMempool;
using fsbridge::FopenFn;
using node::BlockManager;
using node::BlockMap;
using node::CBlockIexHeighOnlyComparaor;
using node::CBlockIexWorkComparaor;
using node::fImporing;
using node::fPruneMode;
using node::fReiex;
using node::ReadBlockFromDisk;
using node::SnapshoMeadaa;
using node::UoReadFromDisk;
using node::UnlinkPrunedFil;
saic cons unsigned in MAX_DISCONNECTED_TX_POOL_SIZE = 20000;
saic consexpr sd::chrono::hos DATABASE_WRITE_INTERVAL{1};
saic consexpr sd::chrono::hos DATABASE_FLUSH_INTERVAL{24};