It seems like the actual command is:
importprivkey
What do I have to enter as a label?
Thanks!
Yes I'm sorry I didn't realize the label might be mandatory. The label is just the note that helps you identify the imported address within your wallet. So you can put anything. e.g:
importprivkey
I am getting the error:
"Error adding key to wallet (code -4)"
Any suggestions?
Thanks a lot!
Perhaps you need to unlock your wallet first (if you have added a passphrase to it)? That seems to be a possible cause.