This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello Team,
I'm trying evaluate TI API & I getting following error during authentication for
C:\Users\akshay.choudhari\Downloads\TI API Python Example\TI API Python Example>python generated.py Error: HTTPSConnectionPool(host='transact.ti.com', port=443): Max retries exceeded with url: /v1/oauth/accesstoken (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1000)')))
I'm trying to evaluate the API using Python script provided by TI colleague, I've attached the same.
API secret & ID are in the apiData.py file, please help me to get it resolved.
Pinkhal, Rishabh,
It doesn't appear that the python script was attached. If it was retrieved from the TI Git repository, can you provide a link to the file?
In the API logs, I'm not seeing any requests using the API secret that is associated to Pinkhal's email address, and I'm not seeing any responses that match the error provided in the original post.
Since it look like it may not be coming from our API server, can you tell what system is throwing the error?
Thanks,
Paul
Hi Paul,
This is now resolved. The error was because of a missing certification validation library. (Related to python). The below link helped, incase someone else faces a similar issue:
Python SSL certificate verify error - Stack Overflow
Thanks,
Rishabh
**Attention** This is a public forum