I am running new bitcond server
$bitcoin-cli importaddress '32om7Xx7GnwxkiAQjpp3hhayDX4mSNLmR1' 'label' false
$
it seems added.
Then I try to list all addresses in wallet it return empty list.
$bitcoin-cli listaddressgroupings
[
]
here my bitcoind.conf
server=1
rpcuser=uname
rpcpassword=pass
rpcallowip=127.0.0.1
rpcbind=127.0.0.1
rpcport=18332
daemon=1
addresstype=p2sh-segwit
$ bitcoin-cli listwallets
[
""
]