code for accessing client account traises BinanceAPIexception

info=client.get_account()
info

BinanceAPIException Traceback (most recent call last)
Cell In[56], line 1
----> 1 info=client.get_account()
2 info

File ~\anaconda3\lib\site-packages\binance\client.py:2052, in Client.get_account(self, **params)
2015 def get_account(self, **params):
2016 “”“Get current account information.
2017
2018 Binance API Documentation
(…)
2050
2051 “””
→ 2052 return self._get(‘account’, True, data=params)

File ~\anaconda3\lib\site-packages\binance\client.py:414, in Client._get(self, path, signed, version, **kwargs)
413 def _get(self, path, signed=False, version=BaseClient.PUBLIC_API_VERSION, **kwargs):
→ 414 return self._request_api(‘get’, path, signed, version, **kwargs)

File ~\anaconda3\lib\site-packages\binance\client.py:377, in Client._request_api(self, method, path, signed, version, **kwargs)
373 def _request_api(
374 self, method, path: str, sign

Hi,

Are you correctly initialising the client with your API and Secret Keys? Please ensure you’re doing that before trying to call client.get_account() as from your output it appears that it’s on line 1 which suggests you haven’t actually initialised the client.