I can’t upload large images
I am having issues uploading large images to cloudinary, when I upload files less than 500kb everything work fine, but when I try to upload files from 1mb and above it times out and return this error: could not decode base64
please what is wrong or what should I do
Answers
-
Hi there,
Thanks for reaching out.
I checked our logs for recent upload requests to your account. I see that the file parameter is empty. Can you please log the value of the file parameter on your side to see what data you are sending to Cloudinary? If that value is empty, I would advise checking earlier functions/API calls to see where the value is being lost along the way.
Here is some documentation on uploading a base64 data URI:
https://support.cloudinary.com/hc/en-us/articles/203125741-Uploading-assets-using-a-base64-DATA-URI
https://cloudinary.com/documentation/upload_images#upload_via_a_base_64_data_uriI hope this helps. Let me know if you are able to get it working. If not, please share your code with us so that we can investigate further. If you have any additional questions, do not hesitate to ask.
Kind regards,
Tia
Helpful Links For You
💬 Share questions, connect with other users in our Cloudinary Community forums and Discord server!
🧑🎓 Join our Cloudinary Academy for free courses, workshops and other educational resources.
📄 Read our documentation for in-depth details on Cloudinary product features and capabilities
📰 Check out the Cloudinary blog for the latest company news and insights0 -
Here is my cloudinary configuration
Here is where I am calling the function and passing the base64 string
And here is a log of the base64 string just be for the cloudinary function was fired.
like I said before, it works perfectly for smaller images less than 500kb
0 -
Hi there,
Can you please share your base64 with me ( one of the larger ones that fails ), so that I can do some testing on my end? You can open a support ticket directly here if you would like to send it as an attached text file:
https://support.cloudinary.com/hc/en-us/requests/newKind regards,
Tia
Helpful Links For You
💬 Share questions, connect with other users in our Cloudinary Community forums and Discord server!
🧑🎓 Join our Cloudinary Academy for free courses, workshops and other educational resources.
📄 Read our documentation for in-depth details on Cloudinary product features and capabilities
📰 Check out the Cloudinary blog for the latest company news and insights0