I have already enabled the totp and regenerated the token.
Below is the full error message. not sure if i have overlooked something
Traceback (most recent call last):
File "C:\Users\Ned\Desktop\Algo\test.py", line 29, in
booksell_order()
…
am i doing something wrong. i am still seeing the error after generating the token
dir_path=os.path.normpath(os.getcwd() + os.sep + os.pardir)
dir_path2=os.path.dirname(os.path.realpath(__file__))
api_key=open(dir_path2 +"\\Access Details\\" +"api_…