Node
Discussion List
-
Blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource
When i upload image to cloudinary its show cors error. The error happening only when i hosted the backend server. Its perfectly worked in localhost
-
Add value to the select single list structured metadata field
I want to use Node SDK and add through the API new value to the structured metadata select single list. I figured out that I must get the whole datasource, add a new item, and write a new data source. The problem is my list has thousands of items. Is there any easy way to add a single value without having to download the…
-
server-app flow upload resources
Hi, I'm a node server side that serves mobile apps. we want to upload recourses from app to cloudinary . we wand the pipeline to be : node server creates a signed url and publicId using cloudinary sdk -> send the url to app -> app send resource to cloudinary using the signed url. what are the cloudinary node sdk functions…
-
Need to add music to entire length of video file which was made by concatenation many video files.
Example:…
-
A couple questions about curl for rtmp
So live streaming has been in Beta almost how long I've been working with my OTT. I used to be able to get the curl rtmp example working and I can't find anything in the forum about live streaming. Is no one streaming live anymore? Is there anyone I can get a quick call into so I can ask some basic questions? This is the…
-
Is there a way I can decrease sound of layered audio file of cloudinary link?
I have added sound to the above link. Although I want to decrease layered audio file sound by 50% and also retain the original sound of the video
-
Importance of query params added by JS SDK-- is it OK to remove?
The following code (in Node.js / React) in some cases produces URLs with query parameters appended to the URL: import { Cloudinary } from "@cloudinary/url-gen"; const cld = new Cloudinary({ cloud: { cloudName: '__redacted__' }, }); const url = cld .image('ID') .quality("auto") .resize(fit(size)) .delivery(format(isSvg ?…
-
How to concat videos present in different folders?
Unable to concat videos present in two different folders . Sample URL (not working) :…
-
{ result: 'not found' }
Hey ,I'm always getting this response whenever I send a delete request to my files. this is my function (async function upload() { const result = await cloudinary.uploader.destroy( "http://res.cloudinary.com/dw3oy1kwb/image/upload/v1690553921/avatars/td4uoxclnlmm8xhiutzo.png", { folder: "avatars" } ); console.log(result);…
-
Learn How to Build a Publish Extension for Canva and Cloudinary
With Canva being one of the hottest tools for creative and design projects, Cloudinary’s Igor Vorobeychik decided to build out a Canva-Cloudinary connector to help streamline work for those who use both platforms! This allows people to create their design in Canva, then publish it to Cloudinary for delivery onto websites,…
-
🦘Cloudinary JumpStart Course for New Developer Users
Hey there! As an active Cloudinary Community member, I wanted you to know about our latest self-paced Academy course - Cloudinary JumpStart for New Developer Users! This Cloudinary Academy primer is for new users of Cloudinary's Programmable Media products and APIs to know the sheer basics of working with us - setting up…
-
build error: coffee-script module not found
Hi all, I'm getting this build error: "./node_modules/vm2/lib/compiler.js Module not found: Can't resolve 'coffee-script' in '/Users/me/my-project/node_modules/vm2/lib" I'm trying to use the Node SDK in a Next.js 13 Api route, intending to upload an image, the Api route looks like this: import { NextRequest, NextResponse }…
-
Problem retrieving resource details when the resource is in a folder
I'm using the node sdk, to hit the Admin API const result = await cloudinary.api.resource(public_id,{resource_type:'video'}) Which works fine when the resource is in the root, but not when it is in a folder. cloudinary.search returns a public_id of "path/to/my-asset-123456" cloudinary.api.resource returns an error whether…
-
cloudinary.uploader.upload not working
Hi I'm trying to use Cloudinary to store my images in a MERN stack project. So basically I converted my image upload in the front end to a base64 string, have the data:image/jpeg;base64 removed and send them to my API. Now in my Controller file I wrote something like this: const postDog = async(req,res) => { const {name,…
-
word files
how can i upload word files ( doc and docx from node js )
-
message: "Invalid Signature***********************************. String to sign
im using the mern stack and i already have used cloudinary , everything was fine till deploy of backend of render.com and front end on netlify .i get as error : message: "Invalid Signature 5a70a668aa00331f394e11318f26963d3fea6a4a. String to sign -…
-
Uploading issue using cloudinary.uploader.upload
I am using cloudinary in my node.js express server. When i use the line "const result = await cloudinary.uploader.upload(`path`);" i get the correct response the first time i run the code in my server. When i try and make another request to my server i get the following error "{ message: 'Empty file', name: 'Error',…
-
How I can upload image in to cloudinary images using react?
I'm building a project for practice purposes and I want to host my media assets on this platform. I created an Image preset, everything is working fine. I just want to upload it with mern stack and Axios but I'm not able to find the API URL to upload the media. Please help to get this resolve
-
My stream in NodeJS not working.
Hello, I'm having trouble getting a video from Cloudinary and sending it to my front end via streams. Here's the code: import express, { Request, Response } from "express"; import request from "request"; import { PassThrough } from "stream"; import cloudinary from "cloudinary"; import * as dotenv from "dotenv";…
-
Is it safe to have cloud name and preset in front end code? Upload question
I have made an app with the MERN stack. I am using the url endpoint to allow users to upload images to my cloudinary, and then the data from that gets put into a mongodb database which I pull information from. I have the cloud name and preset in my .env file, but .env variables get put into the build folder anyway so it…
-
How can I make a download button with Cloudinary and Javascript? Getting CORS error
I am trying to create a download image button. I've tried several ways and still having trouble with CORS. Does Cloudinary support CORS headers? I am using Javascript/NodeJS. I have tried using a fetch request with CORS headers but it seems like Cloudinary isn't reciprocating. Any help on this? Thanks.
-
how to uploads images from react/node to cloudinary
I need to upload images from the front and that they reach the back to be able to show themselves but I have not been able to find the trick, if someone knows I would greatly appreciate it. I'm using a react library for forms 'React-hook-form', it would be supposed that only with the field and the selected image it would…
-
How can I avoid 401 errors on signed uploads
Hi I have a node.js feature to generate signed urls to then upload them from the frontend of my application. I'm currently trying to upload a jpg from my test suite to check whether the signed urls work or not. The code used can be found below: async getAssetUploadUrl(id: InvoiceId): Promise<Url> { const timestamp =…
-
Moving cloudinary cold data to s3
Hi I would like to move cold data from our storage on cloudinary to s3 but still be able to access it using our cloudinary with transformations if needed.
-
Lets Talk Duplicate Image Detection
I know this is still only in Alpha, but I am super excited about this feature! I am attempting to follow along with the instructions at: https://cloudinary.com/documentation/cloudinary_duplicate_image_detection_addon, but i am getting lost. What I am attempting to do is check our existing library for existing duplication,…
-
Upload video with multer and cloudinary - can't read req.file
In my Mern-Stack I have build a fileuploader using multer and cloudinary. The upload of images works really fine, but when I try to upload a video, the console tells me: "Cannot read property "path" of undefined". I console.log my FormData on the whole way. In my dashboard, my redux-slice, my redux-service. Everywhere the…
-
[JavaScript] Upload Multiple Images at Once Using Cloudinary’s Upload API
If you're working in the Node.js ecosystem and want to upload multiple assets to your Cloudinary account, using our Upload API is going to be your best bet. First, ensure you have the most up to date version of Node.js Next, let's use the Cloudinary Node SDK to simplify our implementation. Our amazing documentation team…