Error "'Credentials' object has no attribute 'access_token'" happened while
uploading open positions to google sheets.
Exception: Traceback (most recent call last):
File "D:\project1\gmxv2_trade_logs_infuria.py", line 234, in __init__
self.g_client = gspread.authorize(self.creds)
File "D:\project1\venv\lib\site-packages\gspread\__init__.py", line 38, in
authorize
client.login()
File "D:\project1\venv\lib\site-packages\gspread\client.py", line 46, in login
if not self.auth.access_token or \
AttributeError: 'Credentials' object has no attribute 'access_token'
--------------------------------------GMXV2-Program Starting Time: 13:10:50 23
November 2024--------------------------------------
Connected to Arbitrum Mainnet via INFURA
----Exception occurred outside the loop at 13:10:51 23 November 2024----
Traceback (most recent call last):
File "D:\project1\gmxv2_trade_logs_infuria.py", line 2901, in <module>
livePositionExtractiontest(proxy_contract, client, traders_list,
global_web3).loop()
File "D:\project1\gmxv2_trade_logs_infuria.py", line 2592, in __init__
current_block = self.web3.eth.block_number
AttributeError: 'livePositionExtractiontest' object has no attribute 'web3'