user28187: I am still attempting to complete the receipt of a payment in BitCoin-QT. The initial synchronization is beginning to be a hassle so I thought I might get my key and transfer my wallet to Blockchain.info. 
I followed the directions in How do I export my private keys from my Bitcoin-QT?
to get my private key. All I get back for dumpprivkey[] is:

Invalid Bitcoin address (code -5).

I thought maybe I had the wrong address so I entered listreceivedbyaddress 0 true. 
There are only a couple of addresses since I have a new wallet. All of the addresses returned the same "Invalid Bitcoin address" message. What is going on? I know one of these addresses was used to give to an exchange for my new BC. Is it simply because my blockchain is incomplete and the transaction is incomplete?

user28187: My solution to the question for an encrypted wallet:
walletpassphrase "......." 600
dumpprivkey ......
I made the mistake of including the brackets [ ] when entering the public key after the call dumpprivkey.

28187: <p>I am still attempting to complete the receipt of a payment in BitCoin-QT. The initial synchronization is beginning to be a hassle so I thought I might get my key and transfer my wallet to Blockchain.info. </p>

<p>I followed the directions in <a href="https://bitcoin.stackexchange.com/questions/7536/how-do-i-export-my-private-keys-from-my-bitcoin-qt-client">How do I export my private keys from my Bitcoin-QT?</a>
to get my private key. All I get back for <code>dumpprivkey[]</code> is:</p>

<blockquote>
  <p>Invalid Bitcoin address (code -5).</p>
</blockquote>

<p>I thought maybe I had the wrong address so I entered <code>listreceivedbyaddress 0 true</code>. </p>

<p>There are only a couple of addresses since I have a new wallet. All of the addresses returned the same "Invalid Bitcoin address" message. What is going on? I know one of these addresses was used to give to an exchange for my new BC. Is it simply because my blockchain is incomplete and the transaction is incomplete?</p>
 28187: <p>My solution to the question for an encrypted wallet:</p>

<p>walletpassphrase "......." 600
dumpprivkey ......</p>

<p>I made the mistake of including the brackets [ ] when entering the public key after the call dumpprivkey.</p>
