Hi team
Am unable to login to my account using python code using the new version.
after converting the password with SHA256 conversion tool.
Below is the format i gave while executing. am getting below error. Please let me know any correction is required.
note: userid i gave is here is for example
from thefirstock import thefirstock
import pyotp
userID=‘XX0000’
Password=‘f1c40e203431ec1caae0cc303da8d03a8fd537412ccc444a835d22ebfe96a5pb’
TOTP = pyotp.TOTP(‘NTO7PKU4O7EVG3TU6DHBN4434JQY5747’).now()
vendorCode=XX0000_API’
apiKey=‘c6087615a72121e8946041d6fbe61c1b’
{‘status’: ‘failed’,
‘code’: ‘401’,
‘name’: ‘INVALID_PASSWORD’,
‘error’: {‘field’: ‘password’, ‘message’: ‘password parameter is invalid’}}