Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
0 votes
1 answer
22 views

uploading image in nodejs on cloudinary is not working

I am learning to upload images online using multer and Cloudinary, but for some reason the code stops working on cloudinary.uploader.upload() method. The images are getting stored at desired location ...
Gaurav Bisht's user avatar
0 votes
0 answers
23 views

How can I properly add images using multer without getting errors?

I am having issues with uploading images still, I get 200 when I upload my forms without attaching images but got no response when I attached Image. I'm trying to upload image in MongoDB using multer ...
Leo Emmy's user avatar
0 votes
0 answers
58 views

how to upload images with cloudinary using multer memory storage?

Okay so i am uploading images with multer and saving it to cloudinary, that is basically the gist of it, It was working fine on local machine cause i was saving the pictures on my laptop using multer....
gerard's user avatar
  • 401
0 votes
1 answer
78 views

Getting errors while uploading (Buffer) image file to Cloudinary in Node JS

When I try to upload an image file (buffer) to Cloudinary, I get some errors in my code. const cloudinary = require("cloudinary").v2; But when I store images in the MongoDB database, it's ...
Habib Shah's user avatar
0 votes
0 answers
71 views

Node Socket_CONNECTION_TIMEOUT

I am trying to upload a disk file via cloudinary in my JS file. im using multer as middleware and my uploadonCloudinary function const uploadOnCloudinary = async (localFilePath) => { try { ...
dexter_levo's user avatar
0 votes
0 answers
27 views

Where do I store uploaded assets using multer when deploying app

Okay so i have an application in which i am using multer to store the uploaded assets locally but also in cloudinary as see below: multer.js: const multer = require('multer') const { v4: uuidv4 } = ...
gerard's user avatar
  • 401
0 votes
0 answers
74 views

How to upload Cloudinary image only on successful CRUD operations in Node.js using Multer?

I have created a CRUD project as a student, where I am storing profile images on Cloudinary using Multer. I want the profile image to be uploaded to Cloudinary only when a student's data is ...
Jaskaran Singh's user avatar
-1 votes
1 answer
242 views

Request timeout while uploading file in cloudinary using nodejs, multer

import cloudinary from "cloudinary"; const getDataUri = (file) => { const parser = new DataUriParser(); const extName = path.extname(file.originalname).toString(); return parser....
Rimjhim jain's user avatar
0 votes
1 answer
356 views

Uploading different types of files on cloudinary storage using multer and node.js

I'm trying to upload files from different fields to my cloudinary storage. It works fine for image uploads. However, when I try to upload a video, it gives me an error that says: POST http://localhost:...
Vikram Singh's user avatar
0 votes
1 answer
3k views

Is Cloudinary free tier enough for a small e-commerce website

I'm using Cloudinary free plan to make a small website for enterprise, is free tier enough ? since they give me 25 credits per month but idk how to estimate the ,there will be about 500 people access ...
Ayakase's user avatar
  • 19
0 votes
1 answer
45 views

Unable to upload image and save in mongo

I have code which is taking filepath from one field and i have integrated cloudinary with another field of image which is taking link from cloudinary. So in short im saving a filepath and a link of an ...
Ali Raza's user avatar
0 votes
1 answer
42 views

req.file and req.body not working while using multer 2.0

multer.js I am using [email protected], according to their documentation the code is as follows const multer = require("multer"); const upload = multer().single("avatar"); module....
ADITYA ARORA's user avatar
0 votes
0 answers
77 views

req.files.map and other array functions are not callable

I am working on a MERN full-stack app and using Express, Multer, and Cloudinary for image upload. I set the image upload form as encType='multipart/form-data' and added multiple prop to the input in ...
oybek's user avatar
  • 79
1 vote
1 answer
220 views

req.file is undefined when i uploading photo using multer and cloudinary

so basically i creating an animal post api which have different field like name, type e.t.c and one of them is photo which i need to upload for this I am using multer and cloudinary but it give me ...
Ankit sahu's user avatar
0 votes
1 answer
464 views

getting error while uploading image to cloudinary using multer and nodejs

I am facing error while uploading video in cloudinary with nodejs . I am getting error { message: 'Invalid image file', name: 'Error', http_code: 400 } ,even I am uploading .mp4 file or video file I ...
mahir's user avatar
  • 33

15 30 50 per page
1
2 3 4 5