Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
48 views1 page

GMXV2 Log

Uploaded by

gu8677014
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
48 views1 page

GMXV2 Log

Uploaded by

gu8677014
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

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'

You might also like