<p>You should write exactly</p>

<pre><code>walletpassphrase "yourPassword" howmanysecondswillthewalletstayunlocked
</code></pre>

<p>For example</p>

<pre><code>walletpassphrase "password33482" 6000
</code></pre>

<p>Then your wallet will stay unlocked for <code>6000</code> seconds.</p>

<p>(You can drop the quotes if your password doesn't have spaces, but it's always a great habit to use quotes.)</p>

CC BY-SA 3.0
2017-11-13T07:16:08.887Z
i have tried that quiet a few times but i just get a error
Mark
CC BY-SA 3.0
2017-11-13T08:01:42.367Z
@Mark what error do you get?
meshcollider
CC BY-SA 3.0
2017-11-14T01:23:45.077Z
it has accepted my walletpassphase  now i cant get passed the next part i click dumpprivkey then it wants me to put in my address  Which address do i put in ?
Mark
CC BY-SA 3.0
2017-11-14T05:47:39.220Z
@Mark It asks "Private key of which address do you want to dump?" `dumpprivkey 1ABC...` for example. If you want to dump all of them, `dumpwallet`
MCCCS
CC BY-SA 3.0
2017-11-13T06:47:46.633Z
2017-11-13T06:47:46.633Z
MCCCS
<p>I can't get bitcoin core wallet to accept my wallet passphrase so I can get my private key out. The password is correct, as I have tried it to send out and it accepts it, but when I try on the debug it will not. Is it because of the way i write it in e.g. <code>walletpassphase(........)600</code> or is it 
<code>&lt;...........&gt;600</code> or is it some other way? Please help. It has come up with -32601 and parsing JSON and syntax.</p>

<bitcoin-core><json-rpc>
Error unlocking bitcoin core wallet with JSON RPC
Mark
# Error unlocking bitcoin core wallet with JSON RPC

(Asked by: username_0 on 2017-11-13)

I can't get bitcoin core wallet to accept my wallet passphrase so I can get my private key out. The password is correct, as I have tried it to send out and it accepts it, but when I try on the debug it will not. Is it because of the way i write it in e.g. `walletpassphase(........)600` or is it
`<...........>600` or is it some other way? Please help. It has come up with -32601 and parsing JSON and syntax.

**Tags:** bitcoin-core, json-rpc


---

## 1 answers

### Answer by username_1 on 2017-11-13. Score: 1

You should write exactly

```
walletpassphrase "yourPassword" howmanysecondswillthewalletstayunlocked

```

For example

```
walletpassphrase "password33482" 6000

```

Then your wallet will stay unlocked for `6000` seconds.

(You can drop the quotes if your password doesn't have spaces, but it's always a great habit to use quotes.)

> **Comments:**
> **username_0**: i have tried that quiet a few times but i just get a error  
> **username_2**: @username_0 what error do you get?  
> **username_0**: it has accepted my walletpassphase  now i cant get passed the next part i click dumpprivkey then it wants me to put in my address  Which address do i put in ?  
> **username_1**: @username_0 It asks "Private key of which address do you want to dump?" `dumpprivkey 1ABC...` for example. If you want to dump all of them, `dumpwallet`  

---

