Qualtrics API ssl error | XM Community
Skip to main content
Question

Qualtrics API ssl error

  • 11 June 2024
  • 3 replies
  • 88 views

Hi guys, I am new to qualtrics Api

When I am trying to run the python code for getting the bearer token. I get a error saying 

Max retries exceeded with url: /oauth2/token (Caused by SSLError(SSLCertVerificationError(1, ''SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain.

Does anyone know , how could this be solved?

3 replies

Userlevel 6
Badge +29

Try passing verify=False in the python request parameter.

Badge

Hi there,

 

I am not that new to the Qualtrics API. I am using a Python script to upload embedded data field content to Qualtrics relatively frequently. Last week I stumbled over the exact same issue Sura reported. Verify=False apparently solves the problem (I discovered the general fix also online) but it does not seem to feel right to me skipping the certification check to be honest. Is this an known within the Qualtrics API that engineers are already working on? Or will the workaround be the permanent solution from now on?

Thanks

Badge

Try adding the SSL certificate issued to Qualtrics. Check which certificate is used and export from computer certificates stored in your local machine.

Leave a Reply