In the case of image to base64, you must remove the contentType
const base64String = "data:image/jpg;base64,...".split(",").pop()
Last updated 1 year ago