Stuck upload image greater than 1MB using NodeJS
Hi, im using cloudinary free plan
And im trying to upload using nodejs, but it will stuck on upload and cant return result
here is screenshot for the code, hope you can help me thx
-
Hi Hanif,
Thank you for reaching out.
I've checked the logs for your account and we are not getting any files in your upload request. Please ensure your code is including the file in the API request.
I noticed you included `req.body.files` so perhaps you sending a bunch of files in one go? If so, you will need to create a loop and individually upload the files one at a time.
Please let me know if you have any other questions or queries.
Kind Regards,
Thomas -
Hi Lakshay,
Thanks for getting back and sending that.
So I still don't see any requests from your app to our platform. That error looks like a local server error from your end as 1mb limit is not something we enforce for images.
If you can send us your full code in codesandbox or jsfiddle for example then we can take a deeper look.
Please let me know if you have any other questions or queries.
Kind Regards,
Thomas
Post is closed for comments.
Comments
3 comments