Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node-binance-api-testnet - binance.openOrder(false, (error, openOrders) => ... throwing Invalid API Key for testnet #787

Open
christopherreay opened this issue Jan 8, 2022 · 4 comments

Comments

@christopherreay
Copy link

christopherreay commented Jan 8, 2022

for that APIKEY and APISECRET, I can get read data sockets for everything, for the testnet data,
When I call binance.openOrders(false, (error, openOrders) =>...

error = 
{
 aborted: false,
 body: "{\"code\":-2015,\"msg\":\"Invalid API-key, IP, or permissions for action.\"}",
 caseless: Caseless {dict: {}},
 client: TLSSocket {_tlsOptions: {}, _secureEstablished: true, _securePending: false, _newSessionPending: false, 
 _controlReleased: true,},
 complete: true,
 httpVersion: "1.1",
 httpVersionMajor: 1,
 httpVersionMinor: 1,
"...": "..."
}

openOrders = {};

there are currently no open orders (I havent yet tried to open any
openOrders is {}

@christopherreay christopherreay changed the title binance.openOrder(false, (error, openOrders) => ... throwing Invalid API Key for testnet node-binance-api-testnet - binance.openOrder(false, (error, openOrders) => ... throwing Invalid API Key for testnet Jan 8, 2022
@christopherreay
Copy link
Author

Ive tried generating a brand new HMAC from the website, and the same thing is still happening

@christopherreay
Copy link
Author

christopherreay commented Jan 8, 2022

can confirm that same code works on the mainnet

and also that if I use the node-binance-api library, with the testnet credentials, this also does not work,

@esuarezz
Copy link

esuarezz commented Mar 7, 2022

is this library working?

@christopherreay
Copy link
Author

christopherreay commented Mar 8, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@christopherreay @esuarezz and others