Bitcoin Forum
November 14, 2024, 10:00:45 AM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [SOLVED] Error Decrypting Wallet using Blockchain.info API  (Read 7544 times)
unclemantis (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


(:firstbits => "1mantis")


View Profile
July 13, 2012, 05:29:53 AM
Last edit: July 14, 2012, 05:22:27 PM by unclemantis
 #1

I am giving the API a shot and trying to get my balance using the following url

https://blockchain.info/merchant/my-guid/balance?password=my-password

and chrome downloads a file called "balance"

in this file are the words


{"error":"Error Decrypting Wallet"}


What's the deal? My GUID and my PASSWORD are correct. Using My Wallet service works fine, it is the API that I am having issues with.

Thoughts?

PHP, Ruby, Rails, ASP, JavaScript, SQL
20+ years experience w/ Internet Technologies
Bitcoin OTC | GPG Public Key                                                                               thoughts?
unclemantis (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


(:firstbits => "1mantis")


View Profile
July 13, 2012, 05:48:07 AM
 #2

I just went to http://www.everpassword.com/aes-encryptor and i pasted in the contents of my wallet backup. I entered the password I use on blockchain.info and it is not decrypting! I know this service works, i have used to well in the past.

I just did a test and http://www.everpassword.com/aes-encryptor is working just fine.


I can log into the wallet no problem but I can't use the API nor recover my wallet backup! WTF!?

PHP, Ruby, Rails, ASP, JavaScript, SQL
20+ years experience w/ Internet Technologies
Bitcoin OTC | GPG Public Key                                                                               thoughts?
Maged
Legendary
*
Offline Offline

Activity: 1204
Merit: 1015


View Profile
July 13, 2012, 12:49:26 PM
 #3

Try doing an integrity check on the wallet's web interface. It's an option somewhere...

unclemantis (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


(:firstbits => "1mantis")


View Profile
July 13, 2012, 02:49:41 PM
 #4

Try doing an integrity check on the wallet's web interface. It's an option somewhere...

That was the first thing I tried. Sorry that I did not mention that.

I sent a message to blockchain.info owner last night. it has been 11 hours and no reply yet.

UGH!

PHP, Ruby, Rails, ASP, JavaScript, SQL
20+ years experience w/ Internet Technologies
Bitcoin OTC | GPG Public Key                                                                               thoughts?
unclemantis (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


(:firstbits => "1mantis")


View Profile
July 13, 2012, 02:57:53 PM
 #5

Tried again just a little while ago. Same error.


{"error":"Error Decrypting Wallet"}


I think I am going to go find another wallet service.

Blockchain.info you can still redeem yourself but right now I need to find a wallet service that works for development. Time is money Sad

PHP, Ruby, Rails, ASP, JavaScript, SQL
20+ years experience w/ Internet Technologies
Bitcoin OTC | GPG Public Key                                                                               thoughts?
unclemantis (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


(:firstbits => "1mantis")


View Profile
July 13, 2012, 07:30:12 PM
 #6

106 views and no one can help?

PHP, Ruby, Rails, ASP, JavaScript, SQL
20+ years experience w/ Internet Technologies
Bitcoin OTC | GPG Public Key                                                                               thoughts?
gbl08ma
Sr. Member
****
Offline Offline

Activity: 306
Merit: 250


Donations: http://tny.im/nx


View Profile WWW
July 13, 2012, 08:48:28 PM
 #7

I just tried with one of my Blockchain wallets, and it worked fine.

1st troubleshooting idea: are you sure you're putting the lengthy and random identifier on the URL, and not the wallet nickname?

2nd troubleshooting idea: if the password contains spaces or other special characters, they may need to be encoded to conform with the specification for URLs. Some browsers do the conversion automatically, for others you'll need to encode it yourself using a service like http://meyerweb.com/eric/tools/dencoder/

unclemantis (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


(:firstbits => "1mantis")


View Profile
July 13, 2012, 09:05:17 PM
 #8

I just tried with one of my Blockchain wallets, and it worked fine.

1st troubleshooting idea: are you sure you're putting the lengthy and random identifier on the URL, and not the wallet nickname?

2nd troubleshooting idea: if the password contains spaces or other special characters, they may need to be encoded to conform with the specification for URLs. Some browsers do the conversion automatically, for others you'll need to encode it yourself using a service like http://meyerweb.com/eric/tools/dencoder/

so the blah-blah-blah-blah that i am using with the /wallet url  is not what I am supposed to be using?

Where is this identifier that you are speaking of?

PHP, Ruby, Rails, ASP, JavaScript, SQL
20+ years experience w/ Internet Technologies
Bitcoin OTC | GPG Public Key                                                                               thoughts?
gbl08ma
Sr. Member
****
Offline Offline

Activity: 306
Merit: 250


Donations: http://tny.im/nx


View Profile WWW
July 13, 2012, 09:10:26 PM
 #9

Yes, the identifier you should be using is something like abcaa314-6f67-6705-b384-5d47fbe9d7cc. So that's not the problem.

unclemantis (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


(:firstbits => "1mantis")


View Profile
July 13, 2012, 09:55:35 PM
 #10

I am using something like this

a1701279-fe40-0352-035d-561dbe74f353

and not this is not the guid i am using Tongue

PHP, Ruby, Rails, ASP, JavaScript, SQL
20+ years experience w/ Internet Technologies
Bitcoin OTC | GPG Public Key                                                                               thoughts?
gbl08ma
Sr. Member
****
Offline Offline

Activity: 306
Merit: 250


Donations: http://tny.im/nx


View Profile WWW
July 13, 2012, 10:19:56 PM
 #11

Well, the API worked right for me. I have double encryption enabled (but not two-factor authentication).

I recommend that you double-check for typos (as well as accidental spaces) on the URL you're using to access the API.

It looks like the typo isn't in the guid, because then it wouldn't return "Error Decrypting Wallet" but "GUID Invalid". So the only reason I see for it not to work on your side is that you're passing the wrong password to the API.

unclemantis (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


(:firstbits => "1mantis")


View Profile
July 13, 2012, 10:22:32 PM
 #12

Well, the API worked right for me. I have double encryption enabled (but not two-factor authentication).

I recommend that you double-check for typos (as well as accidental spaces) on the URL you're using to access the API.

It looks like the typo isn't in the guid, because then it wouldn't return "Error Decrypting Wallet" but "GUID Invalid". So the only reason I see for it not to work on your side is that you're passing the wrong password to the API.

it could be the password. i am using a pretty strong one generated by lastpass

PHP, Ruby, Rails, ASP, JavaScript, SQL
20+ years experience w/ Internet Technologies
Bitcoin OTC | GPG Public Key                                                                               thoughts?
unclemantis (OP)
Member
**
Offline Offline

Activity: 98
Merit: 10


(:firstbits => "1mantis")


View Profile
July 13, 2012, 10:25:39 PM
 #13

{"balance":0}

encoded my password worked!

Thank you!

PHP, Ruby, Rails, ASP, JavaScript, SQL
20+ years experience w/ Internet Technologies
Bitcoin OTC | GPG Public Key                                                                               thoughts?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!