Upload Zip file using API

Hello all.
I am trying to upload zip file using API.
While configuration getting this error.

1 Like

Hey @happyfeat87

Have you tried running it (not in preview mode)

Thanks
#nK

1 Like

Yes.
This is the result and status messages.

image

1 Like

Hey @happyfeat87

Looks something wrong on server side. But anyway did you tried this request on postman or some tool to confirm ?

Thanks
#nK

1 Like

Yes.
We tried in postman. It’s working fine.

1 Like

Hey @happyfeat87

Could you please show that request once ?

Thanks
#nK

Sure.
Is this the one?

1 Like

Okay so you are using form data method and uploading it to the postman right ?

Thanks
#nK

Yes.
Content type =“multipart/form-data”

1 Like

Could you please show the props you are passing for the HTTP activity?

Thanks
#nK

Yes.

image

1 Like

Hey @happyfeat87

Are you passing the file through attachments ?

Thanks
#nk

Yes. Its only one zip file we are trying to upload.
Is there any alternative for that?

1 Like

Hey @happyfeat87

The form multi part data you are passing in UiPath seems not right.

That should be checked and updated.

Thanks
#nK

1 Like