My Code is simple as:
from binance import Client
api_key = api_key
api_secret = api_secret
def main():
client = Client(api_key, api_secret, testnet=True)
info = client.get_account()
print(info)
if __name__ == "__main__":
main()
error:
binance.exceptions.BinanceAPIException: APIError(code=-2015): Invalid API-key, IP, or permissions for action.
I am sure api_key and api_secret is right, and I am trying to use it on binance futures testnet. I already read all other questions, none of them worked.