![]() If remove codes about cloudinary in the controller, post works well. (/Users/oushinu/Desktop/tect_trial/server/node_modules/multer/lib/make-middleware.js:53:37)Īt processImmediate (node:internal/timers:468:21) ![]() I set CLOUDINARY_URL environment variableīut the testing inInsomnia shows that Error: Image could not be uploadedĪt file:///Users/oushinu/Desktop/tect_trial/server/controllers/posts.js:32:19Īt asyncUtilWrap (/Users/oushinu/Desktop/tect_trial/server/node_modules/express-async-handler/index.js:3:20)Īt Layer.handle (/Users/oushinu/Desktop/tect_trial/server/node_modules/express/lib/router/layer.js:95:5)Īt next (/Users/oushinu/Desktop/tect_trial/server/node_modules/express/lib/router/route.js:144:13)Īt Immediate. resourcetype, folder, tag, list of public IDs. Also, kindly ensure that the directory for the is accessible (read) from your server application. Cloudinary supports archiving & downloading your resources in ZIP files, based on different criteria (e.g. ![]() Import asyncHandler from "express-async-handler" The (.) can accept a local file path (supported in SDKs only), the actual data (byte array buffer), Data URI (Base64 encoded), or from a remote resource source through HTTP/FTP or S3 bucket. With the great Cloudinary support, i was able to make my piece of code working, so here is the solution : Audio files must not add the format to the publicid but instead keep the resourcetype: 'video' To convert this audio files to other format, you must use the transformation parameter. Here is the post controller: import PostMessage from "./models/postMessage.js" Media Editor Media Editor Last updated: May-08-2023 Cloudinary's Media Editor is an interactive user interface providing a set of common image editing actions to your users on your website or application. Could you help see what issues I have to fix? in our constructed Cloudinary object and pass the listing base64 encoded image. I checked the codes but there was nothing wrong. You can write some ruby code in your storage. In the src/lib/api/index.ts file, well re-export the soon to be created. I need to export a list of links for all items in a folder so I can use them in an Excel spreadsheet (there are several hundred items). ![]() I'm using Sveltekit and need to understand the way how it needs to be done. The status code is 500, the error shows that the image could not be uploaded. How to upload a file to Cloudinary from rver Ask Question Asked 5 months ago Modified 5 months ago Viewed 197 times 2 I Want to upload a file to Cloudinary with their nodejs SDK. In the server, I can post new data, but when trying to save a file to cloudinary using cloudinary API, the testing on Insomnia failed again and again. 8 commits LICENSE Initial commit 4 years ago README.md Update README.md 5 months ago cloudinary-export-csv.php Update cloudinary-export-csv.php 5 months ago screenshot.png Add files via upload 4 years ago README. Following an online tutorial, I have been working on a mern project for weeks. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |