I get the error 403 when getting responses with qualtrics API | XM Community
Solved

I get the error 403 when getting responses with qualtrics API

  • 17 December 2018
  • 3 replies
  • 361 views

Hi all,

I am authorized by the brand admin to use the qualtrics API. I have generated an API token, but still get the 403 error when doing a post request, specifically with:

downloadRequestResponse = requests.request("POST", downloadRequestUrl, data=downloadRequestPayload, headers=headers)

when using python for getting the survey responses (https://api.qualtrics.com/docs/response-exports)

How do I solve this?
Thank you!
best,
David
icon

Best answer by mclaysen_UMICH 18 December 2018, 20:50

View original

3 replies

Userlevel 7
Badge +19
This sounds silly and may not be it- but are you the creator of the survey? One time I struggled for 2 weeks with this question only to discover I needed to own the survey.
> @Kate said:
> This sounds silly and may not be it- but are you the creator of the survey? One time I struggled for 2 weeks with this question only to discover I needed to own the survey.

Thank you for your comment Kate. I am the creator of my survey yes.
What version of the TLS protocol are you using? I was getting that issue when using TLS 1.0, switched to 1.2 and everything was working again.

Leave a Reply