hello stack overflow community, I’m fetching my images from cloudinary and the post request is working fine, until I add the sort_by parameter to the URL. This will lead to an error based on the sort format. The official documentation describes the valid format as following: “An array of string values representing a key value pair, where the key is
Tag: cloudinary
401 Unauthorized error when uploading an image to Cloudinary in specific folder on signed upload preset
I have a social media app, and when a user wants to upload a profile picture, they must obtain a signature from the server. This code works when I remove the upload preset in the front end, but I want the upload preset so that the user can upload to a specific folder, and it is a signed upload preset,
Middleware “strapi::session”: App keys are required. Please set app.keys in config/server.js (ex: keys: [‘myKeyA’, ‘myKeyB’])
Trying to set up strapi and cloudinary I watched two videos and they are all OK, but I have an error, tell me why? Middleware “strapi::session”: App keys are required. Please set app.keys in config/server.js (ex: keys: [‘myKeyA’, ‘myKeyB’]) plugins.js .env server.js middlewares.js admin.js Answer It looks like you don’t have APP_KEYS defined in your .env file (assuming you’re sharing
Cloudinary configuration is not read data from .env file
I’m using Cloudinary with my node.js project… The issue is cloudinary.config is not reading data from .env file, I have to type them directly! I’ll be thankful if anyone can help 🙏🏻 Answer Issue is solved with adding require(“dotenv”).config(); to the beginning of the same file which contains cloudinary.config
Multer – Cannot read property ‘buffer’ of undefined
I have a problem uploading an image file to my server, I watched some tutorials on YouTube about multer and I do exactly the same thing that is done in the tutorial and for whatever reason, I get an error: (“Cannot read property ‘buffer’ of undefined”), and req.file is also undefined. I googled for the error and found some people
How to upload multiple images to cloudinary and send urls to another database using javascript
This is my first time posting so please excuse my mistakes. I’m trying to upload multiple images to cloudinary, save the urls in an array and send them along with the rest of the form data to mongodb (one record with multiple images). I cant figure out how to call the mongodb function only after All the images are uploaded