Render and cloudinary

Hi, i have a trouble, when i try upload file to cloudinary from Postman and my backend service starts on Render, i have “undefined” instead of file, but when I do it locally, the file uploads successfully. what am i doing wrong? why can this happen?


There will always be differences between environments: development mode/Local, production mode/Render, etc. These differences need to be considered and configured as required for your own app in each environment.

There’s not quite enough detail to be sure, but at a guess, maybe you’re attempting to store files on a Render instance before uploading to Cloudinary?

Render instances have an ephemeral filesystem, meaning any file written to the instance after it has booted will be lost when it next restarts (e.g. spun down if on free instance type, next deploy, manual restart, etc.).

If you want to use file uploads on your service, you’ll need to have a persistent store, e.g. a Render Disk (which is chargeable and also requires a paid instance type) or an external service like AWS S3.


Hi, i am found an error, thank you. By the way I don`t save file on render, redirecting the stream of file to cloudinary

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.