ECL-140 - Fix throws exception in putContent.