APIError(code=-2015): Invalid API-key, IP, or permissions for action

Trying run this code on python (for testnet futures account)

from binance.client import Client

key = 'e2549e4bf6c5bc24ec34c46ce5ff...'
secret = '0c201e6edcdb0dd3a050c8b4...'

client = Client(api_key=key, api_secret=secret, testnet=True)
info = client.get_account()

Get this error

Traceback (most recent call last):
  File "/srv/large/code-with-data/p0wx/vnpy_copy/some_binance.py", line 8, in <module>
    info = client.get_account()
  File "/home/p0wx/anaconda3/envs/vnpy/lib/python3.10/site-packages/binance/client.py", line 2056, in get_account
    return self._get('account', True, data=params)
  File "/home/p0wx/anaconda3/envs/vnpy/lib/python3.10/site-packages/binance/client.py", line 418, in _get
    return self._request_api('get', path, signed, version, **kwargs)
  File "/home/p0wx/anaconda3/envs/vnpy/lib/python3.10/site-packages/binance/client.py", line 381, in _request_api
    return self._request(method, uri, signed, **kwargs)
  File "/home/p0wx/anaconda3/envs/vnpy/lib/python3.10/site-packages/binance/client.py", line 361, in _request
    return self._handle_response(self.response)
  File "/home/p0wx/anaconda3/envs/vnpy/lib/python3.10/site-packages/binance/client.py", line 370, in _handle_response
    raise BinanceAPIException(response, response.status_code, response.text)
binance.exceptions.BinanceAPIException: APIError(code=-2015): Invalid API-key, IP, or permissions for action.

Versions:
Python 3.10.0
binance 1.0.19

Please take use of this post why do I see this error "Invalid API-key, IP, or permissions for action." to check for possible reasons.

Solution

I use futures testnet account
Thats why i need use functions beginning at futures_ (futures_account, futures_account_balance)
Instead of get_account or get_asset_balance