When I try to import a private key, I get the following error: "Please enter the wallet passphrase with walletpassphrase first. (code -13)".
What do I do? The wallet is still syncing, maybe that's the problem?
This simply means that the wallet is encrypted and you have to unlock it first. Search for it in google, there is a specific command which you can copy paste, its easy.