user91088: 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
[
  ""
]


user64658: You're using on incorrect bitcoin-cli method to list your addresses.
The command you're looking for is:
bitcoin-cli listreceivedbyaddress 0 true

The 0 parameter means you're requesting information on any address and the true flag means you want empty addresses included.
The original command you were attempting, listaddressgroupings, is described here.

91088: <p>I am running new bitcond server</p>

<pre><code>$bitcoin-cli importaddress '32om7Xx7GnwxkiAQjpp3hhayDX4mSNLmR1' 'label' false
$
</code></pre>

<p>it seems added.</p>

<p>Then I try to list all addresses in wallet it return empty list.</p>

<pre><code>$bitcoin-cli listaddressgroupings
[
]
</code></pre>

<p>here my bitcoind.conf</p>

<pre><code>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
[
  ""
]
</code></pre>
 64658: <p>You're using on incorrect bitcoin-cli method to list your addresses.</p>

<p>The command you're looking for is:</p>

<pre><code>bitcoin-cli listreceivedbyaddress 0 true
</code></pre>

<p>The <code>0</code> parameter means you're requesting information on any address and the <a href="https://bitcoin.stackexchange.com/questions/16827/listreceivedbyaddress-returns-empty-list"><code>true</code> flag means you want empty addresses included</a>.</p>

<p>The original command you were attempting, <code>listaddressgroupings</code>, is described <a href="https://bitcoin.stackexchange.com/questions/25473/what-does-the-listaddressgroupings-rpc-method-do">here</a>.</p>
