I set up bitcoind, and the complete blockchain is synced. I created a wallet, and I loaded the wallet.
How can I generate an address to deposit BTC to? I tried
bitcoin-cli getnewaddress and I get this address
bc1q4mglxdp28f693lw476fnmcesq25tmfkcsfqnpk, but at the Huobi exchange when I try to withdraw 0.001 BTC to that address as a test, I get the message "Invalid address."
What am I doing wrong? How can I create a valid BTC address on my loaded wallet to send BTC to?