I'm playing around with the Zephyr Scale API for the purposes of connecting it to automated tests. I've been trying to upload a custom format zip file per the documentation here, but I keep getting the following failure response:
"message": "Malformed zip archive",
"status": "Bad Request"
I'm using content-type = multipart/form-data and using Postman as my http agent. Is there any other documentation available about what this zip file is supposed to look like?
Go to Solution.
I faced the same problem when I set the wrong form data parameter name.
To fix this problem, the parameter name should be "file".
I hope that could help you.
View solution in original post
Ah ha! Postman was defaulting to a capital F rather than lower case. Changing "File" to "file" solved it.