Why do some files get uploaded while others say "Could not decode base54"?
I have worked with Cloudinary's API for a few years so I'm basically doing the same thing I've always done, but I'm encountering this new issue.
I uploaded avif, jpegs, etc and everything worked fine. Then I tried to upload a png which was created from a screenshot on my Macbook. It kept saying
Bad Request 400 Could not decode base64".
I ended up converting the images to webp before uploading them and that solved that problem for the time being. Now I'm trying to upload a video and I am receiving that same error. Other media uploads fine.
The video size is 3.2mb. I'm using Nextjs 14 and Axios 1.6.0.
I'm currently using the data uri because when I used the file itself, it would timeout and send back a 502 Error.