Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^3: JSON / Bitcoind API 500 internal error

by marto (Cardinal)
on Mar 04, 2014 at 19:24 UTC ( [id://1076942]=note: print w/replies, xml ) Need Help??


in reply to Re^2: JSON / Bitcoind API 500 internal error
in thread JSON / Bitcoind API 500 internal error

If the apache error log has nothing consider checking that your configuration is set to log errors correctly. The module documentation has example usage for the error method.

  • Comment on Re^3: JSON / Bitcoind API 500 internal error

Replies are listed 'Best First'.
Re^4: JSON / Bitcoind API 500 internal error
by aboboras (Acolyte) on Mar 04, 2014 at 21:45 UTC
    I manually debuged and could make sure that the problem is here:

    &ReadParse(*data);
    $btc = $data{"amount"}; #the value being parsed is 0.01 or any other valid btc value.

    The above does not work as a param for the bitcoin api, but it works:

    $btc = 0.01;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1076942]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2024-04-24 10:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found