binance-api-node icon indicating copy to clipboard operation
binance-api-node copied to clipboard

Error: Invalid API-key, IP, or permissions for action.

Open Dzielinski93 opened this issue 1 year ago • 2 comments

After putting Api key and secret from https://testnet.binancefuture.com/ I am constantly getting this error "Error: Invalid API-key, IP, or permissions for action.". Anyone can help me with this?

Dzielinski93 avatar Feb 11 '24 12:02 Dzielinski93

i have the same issuse with future testnet

thucdev avatar Mar 09 '24 10:03 thucdev

you can put the testnet endpoint in the init config. For example:

Binance({
  apiKey: process.env.BINANCE_API_KEY,
  apiSecret: process.env.BINANCE_SECRET_KEY,
  httpFutures: 'https://testnet.binancefuture.com',
  wsFutures: 'wss://fstream.binancefuture.com',
})

tamdc avatar Apr 12 '24 12:04 tamdc