Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

could not decode base64 cloudinary

I had encountered the same issue . Just send the bas64 file as json and not as formData . step 1 : app.use(express.json({ limit: "50mb" })); app.use(express.urlencoded({ limit: "50mb", extended: true }));

step 2 : since you are converting the image on onChange event the file is converted to base64 . so just send that data as json .
 
PREVIOUS NEXT
Tagged: #decode #cloudinary
ADD COMMENT
Topic
Name
2+5 =