You happen to be working with type data with a simple request param, that is not how it really works. If you are attempting to mail the json and file alongside one another, make sure "childFile"'s written content variety is "software/json" and get it by request body with annotation @RequestPart, https://letitiam876vch3.bloggadores.com/35905744/the-400-cash-diaries