btcchina
btcchina copied to clipboard
401 Response on getAccountInfo
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.