RPC giving error -13 Bitcoin rpc calls giving error 

-13: Error: Please enter the wallet passphrase with walletpassphrase first.
Your wallet is locked with a passphrase, first you need to unlock it before executing commands related to private keys using walletpassphrase:

# Unlock the wallet for 60 seconds
$ bitcoin-cli walletpassphrase "my pass phrase" 60

# Some transaction commands ...

# Lock the wallet again (before 60 seconds)
$ bitcoin-cli walletlock