btcchina icon indicating copy to clipboard operation
btcchina copied to clipboard

401 Response on getAccountInfo

Open trezm opened this issue 10 years ago • 0 comments

I'm receiving a "General API error: 401 Unauthorized" whenever I try to call the getAccountInfo method. the format of the call is:

var BTCChina = require( 'btcchina' );
var btcChina = new BTCChina( <access_key>, <secret_key> );
btcChina.getAccountInfo( console.log );

And it always returns 'General API error: 401 Unauthorized' I've tried with multiple different API keys, and get the same result.

trezm avatar Mar 05 '14 19:03 trezm