Bitcoin Forum
June 21, 2024, 12:45:34 PM *
News: Voting for pizza day contest
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Sendfrom JSON generating "Error 500".  (Read 510 times)
slackjaw (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 09, 2013, 09:22:43 PM
 #1

I'm getting an internal server error 500 when posting a sendfrom command to bitcoin. Other commands are all working (listing accounts, listing transactions for accounts, etc.), so it's not the setup of the bitcoin RPC server.  I can send this same amount from account "AccountName" using the GUI just fine, so it's also not due to an insufficient fund or incorrect account name.

The json is as follows:

"{"jsonrpc":"1.0","id":"1","method":"sendfrom","Params":["AccountName","1BPdbD4Soi88YSm1bsxAKfdeP41AeDWN1o",0.0001]}"

Is there anything obvious I am doing wrong here?

slackjaw (OP)
Newbie
*
Offline Offline

Activity: 2
Merit: 0


View Profile
November 09, 2013, 10:46:20 PM
Last edit: November 10, 2013, 12:14:51 AM by slackjaw
 #2

"sendtoaddress" is getting the internal error 500 also. Address is valid, and I can send to it from the GUI.  The address is an address on a secondary account in my wallet.  Really wondering now why I can't send bit coins.  The the transaction that I received did have over 500 confirmations. Anyone?


edit: 

Something is really weird in Bitcoin.  It appears that some JSON-RPC functions only work if the word "params" in the json begins with a capital P (ie "Params"). The "SendToAddress" and "SendFrom" only work if the word params starts with an lowercase "p" ie, "params".  This is strange.  I've seen a few others complaining about "some functions work and some don't", and they were using the windows client like I. Maybe it's compiled incorrectly.
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!