cancel
Showing results for 
Search instead for 
Did you mean: 

Automations Custom Format

SOLVED
eitak
New Contributor

Automations Custom Format

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:

{
    "errorCode": 400,
    "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?

1 ACCEPTED SOLUTION

Accepted Solutions
chicofaccin
Regular Visitor

Re: Automations Custom Format

Hi.

I faced the same problem when I set the wrong form data parameter name.

 

Screenshot 2021-04-07 at 10.38.02.png

To fix this problem, the parameter name should be "file".

 

Screenshot 2021-04-07 at 10.36.56.png

 

https://support.smartbear.com/zephyr-scale-cloud/api-docs/#operation/createCustomExecutions

I hope that could help you.

 

Best regards.

View solution in original post

2 REPLIES 2
chicofaccin
Regular Visitor

Re: Automations Custom Format

Hi.

I faced the same problem when I set the wrong form data parameter name.

 

Screenshot 2021-04-07 at 10.38.02.png

To fix this problem, the parameter name should be "file".

 

Screenshot 2021-04-07 at 10.36.56.png

 

https://support.smartbear.com/zephyr-scale-cloud/api-docs/#operation/createCustomExecutions

I hope that could help you.

 

Best regards.

View solution in original post

eitak
New Contributor

Re: Automations Custom Format

Ah ha! Postman was defaulting to a capital F rather than lower case.  Changing "File" to "file" solved it.

New Here?
Join us and watch the welcome video:
Top Kudoed Authors