<p>You need to issue the <code>walletpassphrase</code> RPC command to unlock the wallet for some time, before you can perform send operations.</p>

CC BY-SA 3.0
2013-09-19T18:45:12.180Z
2013-09-19T18:45:12.180Z
Pieter Wuille
<p>I'm working with bitcoin-qt to send payments, the config file is set to work with JSON-RPC.
it's include the rpcuser and rpcpassword, all calls I make to the wallet works fine, on the UI of the bitcoin-qt.exe I wanted to encrypt the wallet so every send payment I do from the UI will ask me for user password, I did it from setting->encrypt wallet. 
After that all calls from JSON RPC I get an error "The remote server returned an error: (500) Internal Server Error." . should I add something in the conf file ? </p>

<bitcoin-core><json-rpc>
how to set the conf file ,if my wallet is encrypted
Haddar Macdasi
# how to set the conf file ,if my wallet is encrypted

(Asked by: username_0 on 2013-09-19)

I'm working with bitcoin-qt to send payments, the config file is set to work with JSON-RPC.
it's include the rpcuser and rpcpassword, all calls I make to the wallet works fine, on the UI of the bitcoin-qt.exe I wanted to encrypt the wallet so every send payment I do from the UI will ask me for user password, I did it from setting->encrypt wallet.
After that all calls from JSON RPC I get an error "The remote server returned an error: (500) Internal Server Error." . should I add something in the conf file ?

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


---

## 1 answers

### Answer by username_1 on 2013-09-19. Score: 1 | Accepted answer

You need to issue the `walletpassphrase` RPC command to unlock the wallet for some time, before you can perform send operations.


---

