problem exporting responses (Api) | XM Community
Skip to main content
!



I tested the link above with the post method

https://co1.qualtrics.com/API/v3/surveys/SV_cccccccc/export-responses

   I receive an error above



"meta": {"httpStatus": "400 - Bad Request", "error": {"errorMessage": "Error decoding json body: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('f' (code 102 )): was expecting double-quote to start field name \\ n at tSource: (akka.util.ByteIterator $ ByteArrayIterator $$ anon $ 1); line: 2, column: 12] "

here is the curl query i used



curl -X POST -H "X-API-TOKEN: token" -H "Content-Type: application / json" -d "{

           "format": "json"

   } "" https://co1.qualtrics.com/API/v3/surveys/SV_xxxxxxxxx/export-responses "
I tried out this API in postman and it worked fine for me.

After setting up the header variables and query parameters, added the following json to the raw editor in the body:

{

"format": "json"

}

Leave a Reply