Error while trying to export survey responses using API | XM Community
Skip to main content
Hi Gurus,

I am getting the below error message, while trying to export survey responses using the API.



InboundJaxrsResponse{context=ClientResponse{method=POST, uri=https://xxxx.qualtrics.com/API/v3/surveys/SV_0djWsLPMe1Zfhf7/export-responses, status=411, reason=Length Required}}



I am trying the below API call to export the responses, and to see the Export Request ID.



curl -X POST -H 'X-API-TOKEN: yourapitokenhere' -H 'Content-Type: application/json' -d '{

"format": "csv"

}' 'https://yourdatacenterid.qualtrics.com/API/v3/surveys/SV_012345678912345/export-responses'



Any help is greatly appreciated.



Thanks

Sri
I don't have an answer for you, but I'd recommend contacting Qualtrics Support and talking to the API/Integrations team. They're fantastic and should be able to give you some good advice.
Hi,

I did ask them the question. They just came back that it's work fine for them.



Not sure how to go about this issue.



Thanks
Hi, @Srikanth! It looks like you reached out to our Support Team about this issue and they were able to run the API call with a 200 Okay response, which means the call is working as intended! While the Support Team is able to help with testing Qualtrics APIs, they do not support all API interface troubleshooting. The Support Team therefore recommended looking up curl examples (for your software integrator), in order to help translate the curl code into the correct format!

Leave a Reply