Happy Business Starts Here

"Required MultipartFile parameter 'file' is not present" error

Zuora Staff

"Required MultipartFile parameter 'file' is not present" error

An error is thrown when trying to load usage via a REST call in Postman (Chrome Extension),

 

What could be the issue?

 

image (1).png






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

1 ACCEPTED SOLUTION

Accepted Solutions
Zuora Staff

Re: "Required MultipartFile parameter 'file' is not present" error

Make sure that you don't put the "content-type" in Postman, as it will automatically insert the correct headers.

 

Once it has been removed from the header, the usage upload will work correctly.






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post

1 REPLY 1
Zuora Staff

Re: "Required MultipartFile parameter 'file' is not present" error

Make sure that you don't put the "content-type" in Postman, as it will automatically insert the correct headers.

 

Once it has been removed from the header, the usage upload will work correctly.






If you found my answer helpful, please give me a kudo ↑
Help others find answers faster by accepting my post as a solution √

View solution in original post