not able to download Survey responses | XM Community
Skip to main content

curl -X POST -H "X-API-TOKEN: token" -H "Content-Type: application / json" -d "{"format": "csv", } " "https://sjc1.qualtrics.com/API/v3/surveys/SV_XXXXXXXXXXX/export-responses"
{"meta":{"requestId":"37020443-8539-4690-8cf3-e6d938834c82","httpStatus":"400 - Bad Request","error":{"errorCode":"QVAL_1","errorMessage":"Json type request body is expected."}}}%
any idea how to resolve above error, it keeps throwing the error "Json type request body is expected"

itisgopsy , {"format": "csv", } " you may want remove extra comma from the jason. it required only when you want to add another attribute.
below should work..
{"format": "csv"} "


Leave a Reply