not able to download Survey responses | XM Community
Question

not able to download Survey responses

  • 15 July 2020
  • 1 reply
  • 91 views

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"


1 reply

Badge +6

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