RA Webservice Error",web.multipart.MultipartException",:"Current request is not a multipart

Document ID : KB000119908
Last Modified Date : 13/12/2018
Show Technical Document Details
Issue:
RA WebService Job failing with
 
2018-10-04 13:46:30    Response error code: 500 (Response family:SERVER_ERROR), Exception: {"timestamp":1538653590103,"status":500,"error":"Internal Server Error","exception":"org.springframework.web.multipart.MultipartException","message":"Current request is not a multipart request","path":"/api/s3/tchibo-landing-stage"}:Internal Server Error

I.e, the error says “Current request is not a multipart request” though this was set in the job:
 
User-added image
Resolution:
Solution:
This error is fixed in the following version and all newer ones:
  • RA.Web.Service.REST 4.4.2

Workaround:
Insert the following line into the Pre Process tab of the WebService REST job:
 
:put_att MEDIATYPE ="multipart/form-data"