Happy Business Starts Here

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

Highlighted
Support SME

"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
Highlighted
Support SME

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
Highlighted
Support SME

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