<p>im trying to get my private key, i did wallet passphrase 600, got null response, did dumpprivkey &quot;wallet&quot; and i get
￼
This type of wallet does not support this command (code -4)</p>
<p>anyone know why this is happening?</p>

CC BY-SA 4.0
2022-11-28T11:40:19.757Z
Does this help: [How do I get the private key of an address in descriptor wallets? How to dumpprivkey?](https://bitcoin.stackexchange.com/q/107216/13866)
RedGrittyBrick
CC BY-SA 4.0
2022-11-28T19:39:00.463Z
Hi @StaciCosto, very likely you have created a descriptor wallet and are running into the issue that RedGrittyBrick suggested. If you find that it doesn't resolve your query, please update your question here and vote to reopen. Thanks!
Murch
<private-key>
Private key problem, getting an error (code -4) please help
StaciCosto
# Private key problem, getting an error (code -4) please help

(Asked by: username_0 on 2022-11-27)

im trying to get my private key, i did wallet passphrase 600, got null response, did dumpprivkey "wallet" and i get
￼
This type of wallet does not support this command (code -4)

anyone know why this is happening?

**Tags:** private-key

> **Comments:**
> **username_1**: Does this help: [How do I get the private key of an address in descriptor wallets? How to dumpprivkey?](https://bitcoin.stackexchange.com/q/107216/13866)  
> **username_2**: Hi @username_0, very likely you have created a descriptor wallet and are running into the issue that username_1 suggested. If you find that it doesn't resolve your query, please update your question here and vote to reopen. Thanks!  

---

## 0 answers

