Unzipping a file from GET Response Export | XM Community
Skip to main content
Solved

Unzipping a file from GET Response Export

  • November 10, 2017
  • 5 replies
  • 133 views

Dax
Qualtrics Employee
Forum|alt.badge.img+2
  • Qualtrics Employee
  • 23 replies
When I run the Get Response Export file call and choose "Send and Download," I am able to create a .zip file, but when I try to unzip the file it archives the file instead of opening and unzipping it. How can I get the file to open?

Best answer by AnthonyR

@Dax This may seem like a strange solution, but it doesn't appear to be saving as a zip when you are saving the file. Can you try appending .zip to the end of your filename when saving? Everything else seems about right to me, assuming you are including your X-API-TOKEN in the header of that final call. If not, it's possible it is trying to save the returned json error text as a zip file and making a corrupt file.

5 replies

AnthonyR
Level 4 ●●●●
Forum|alt.badge.img+7
  • Level 4 ●●●●
  • 308 replies
  • November 27, 2017
What are you using to do these calls? More information is needed here to effectively help with your problem.

Dax
Qualtrics Employee
Forum|alt.badge.img+2
  • Author
  • Qualtrics Employee
  • 23 replies
  • November 27, 2017
@AnthonyR - sorry about that! I am using Postman to test these calls...I've been running the call and then using the "Send & Download" button to save my file.

AnthonyR
Level 4 ●●●●
Forum|alt.badge.img+7
  • Level 4 ●●●●
  • 308 replies
  • November 27, 2017
@Dax When you have downloaded the zip file, what process are you using to unzip it? Also, are you using the get-response-export-progress call to ensure that the file is ready for download? It it isn't 100% then downloading the file won't work properly.

Dax
Qualtrics Employee
Forum|alt.badge.img+2
  • Author
  • Qualtrics Employee
  • 23 replies
  • November 29, 2017
@AnthonyR - Here is a quick video of my whole process. I can get to the point where I save the doc on my desktop but have not ever been able to access it. Probably something easy that I'm missing. https://www.youtube.com/watch?v=_ZwNNi2ao40

AnthonyR
Level 4 ●●●●
Forum|alt.badge.img+7
  • Level 4 ●●●●
  • 308 replies
  • Answer
  • November 29, 2017
@Dax This may seem like a strange solution, but it doesn't appear to be saving as a zip when you are saving the file. Can you try appending .zip to the end of your filename when saving? Everything else seems about right to me, assuming you are including your X-API-TOKEN in the header of that final call. If not, it's possible it is trying to save the returned json error text as a zip file and making a corrupt file.