**Sometimes the returned image is corrupted and gives 'Incorrect Padding' error while decoding from base64** Has anyone faced similar problem ?