Bitcoin Forum
June 18, 2018, 04:32:54 AM *
News: Latest stable version of Bitcoin Core: 0.16.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Error in console when trying to unlock my wallet (Bitcoin Core)  (Read 406 times)
Bitnoob12345
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
August 14, 2017, 06:30:32 AM
 #1

Hi friends,

I am trying to move BTC from Bitcoin Core to Electrum. I got the adress and know there is balance when I looked at the adress on blockchain.info. I need to unluck the wallet before I can use dumpprivkey in console. The Bitcoin Core client is not fully synced yet. I get the following error code:


Example:

Walletpassphrase fg,91iK

Error: Error parsing JSON:,91iK



Any suggestions on what to do?  Shocked
1529296374
Hero Member
*
Offline Offline

Posts: 1529296374

View Profile Personal Message (Offline)

Ignore
1529296374
Reply with quote  #2

1529296374
Report to moderator
1529296374
Hero Member
*
Offline Offline

Posts: 1529296374

View Profile Personal Message (Offline)

Ignore
1529296374
Reply with quote  #2

1529296374
Report to moderator
The World's Betting Exchange

Bet with play money. Win real Bitcoin. 5BTC Prize Fund for World Cup 2018.

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1529296374
Hero Member
*
Offline Offline

Posts: 1529296374

View Profile Personal Message (Offline)

Ignore
1529296374
Reply with quote  #2

1529296374
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1428
Merit: 1350


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


View Profile WWW
August 14, 2017, 07:32:41 AM
 #2

Enclose your password with single quotes. The JSON parser will parse the string you enter and it is confused by the comma there.

Bitnoob12345
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
August 14, 2017, 08:50:27 AM
 #3

Enclose your password with single quotes. The JSON parser will parse the string you enter and it is confused by the comma there.

It says I have to add an amount of timeout to it, so I did that but got "Null" in return. And after a few attempts I get "Method not found" with an error code.


For example:

Walletpassphrase 'fg,91iK' 600

Null



Any ideas?
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1428
Merit: 1350


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


View Profile WWW
August 14, 2017, 04:07:41 PM
 #4

It says I have to add an amount of timeout to it, so I did that but got "Null" in return. And after a few attempts I get "Method not found" with an error code.
That means that it worked. walletpassphrase will return null when it is successful. If it is not successful, you will get an error.

Bitnoob12345
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
August 16, 2017, 10:18:17 AM
 #5

It says I have to add an amount of timeout to it, so I did that but got "Null" in return. And after a few attempts I get "Method not found" with an error code.
That means that it worked. walletpassphrase will return null when it is successful. If it is not successful, you will get an error.

Thank you so much! The single quotes and misunderstanding null was the problem, at last I received my privkey.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!