reddcoin-project / reddcoin-3.10

Reddcoin: the digital social currency
http://www.reddcoin.com
MIT License
287 stars 114 forks source link

Nonexistent RPC calls return HTML rather than JSON #170

Closed HenryYoung42 closed 1 year ago

HenryYoung42 commented 3 years ago

When an invalid RPC call is made, for example to find out if zmq is supported using getzmqnotifications, the resulting error message is returned in HTML rather than JSON. This is at odds with pretty much every other Bitcoin derived implementation, and one assumes is connected with the introduction of the REST API with the wrong or a common error handler being called.

HenryYoung42 commented 3 years ago

Correction - if the call is made with an incorrect username, the error returned is HTML rather than JSON.

reddink commented 3 years ago

Thanks @HenryYoung42 will add this to the next release

TechAdeptRDD commented 1 year ago

Issue resolved in latest v4.22.X wllet. Update required (binaries here on github or download.reddcoin.com) Ticket marked done and closed.