-
Cloudinary video giving time out error.
http://res.cloudinary.com/ddyewklhk/video/upload/c_fill,du_12,h_1080,so_938.8,w_1920/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.mp4:1713421058876/c_fill,du_12,h_1080,so_940.3,w_1920/fl_layer_apply/fl_splice,l_video:ballerappCloudinary:66445980-D9CC-49D8-8D2A-FA656BF907EB-NL-merged.m…
-
Getting 494 Error
We generated this reel . We are getting 494 error. Please provide support this is a production critical issue.
-
There were any update on cloudinary environment V2 to connect with ?
Hi , good day, I am having problem to upload files images from my VPS from hostinger, This error appears: Error: getaddrinfo EAI_AGAIN api.cloudinary.com at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:71:26) { errno: -3001, code: 'EAI_AGAIN', syscall: 'getaddrinfo', hostname: 'api.cloudinary.com' }
-
when trying to upload image from postman i am getting unexpected end of form error
my index.js part const express = require("express")const app = express()const mongoose = require("mongoose")const cors = require("cors")const route = require("./route")const mult = require('multer')const fileUpload = require("express-fileupload"); app.use( fileUpload({ useTempFiles: true })); my clodinary function file -…
-
gen_remove is not supported as an incoming transformation
Hi, I'm trying to use a transformation preset while I upload pictures in node.js, this preset contains a gen_remove and it crashes with an error 500 "[unhandled] [500] gen_remove is not supported as an incoming transformation". I don't see a list of unsupported transformation in the docs, maybe because it's a new feature ?…
-
Make file available upon user button click.
Using Node.js/Next.js. My API grabs some data, generates an excel file and then uploads the file to Cloudinary. When the user clicks a button I need the excel file to be available to them for download. It appears the excel file link is saved in result.secure_url. I'm stuck on how to get this link into a clickable button. I…
-
Product gallery widget not recognising Tags
I'm trying to work with the product gallery widget. I want to display all images with the tag "move" but this is not working. If I use the publicID of an individual image, it works, so I know it's connecting. Can anyone help shed some light on this?
-
Generating Download URL Returning 404
When generating a download URL using utils.private_download_url(publicId, format, options) the method returns 200 with a seemingly correct URL string. However, when trying access the string in the browser or pass it as a link in my react application I get a 404 "resource not found". What could be causing this? I've looked…
-
Cannot figure out why the image is not deleting
I'm trying to delete an image using the Nodejs SDK. const result = await cloudinary.uploader.destroy(profile.id); But it returns a result of 'not_found' even though I'm specifying the correct public id As you can see in the pics above, the id of the resource in the media lib matches what is in the console (profile.id =…
-
Unable to query my Product Environment
I'm using nodejs sdk, and I have this simple config in my project: cloudinary.config ({ cloud_name: "testname", api_key: "11223344556677", api_secret: "h64hsh6wh7whs", secure: true, analytics: false, hide_sensitive: true }) const result = await cloudinary.api .resources() .then(result=> console.log(result)); But I'm…
-
search API subfolder
Hi! I am new to Cloudinary so bear with me... Right now the following code grabs all of my Cloudinary media, but I just need assets from a folder/subfolder. How can I specifically grab assets within a particular folder using the Cloudinary search API? Thanks! const results = (await cloudinary.v2.search…
-
how to upload png with transparent background to cloudinary
I am trying to upload a png image with transparent background to cloudinary using nodejs application The image is in png format i.e. logo.png. I am using multer to get the image convert into buffer before uploading the image. But when I upload the image the transparent background changes to a white background. The response…
-
Problem uploading files, Timeout and Callback is not a function
Hello Everyone, I've been using Cloudinary for some times now, and up until yesterday everything was perfectly smooth and running. However this morning i tried to upload an image ( working on loading state) and i've seen that it wasn't working anymore. At first i had a 499 Error timeout, and after looking on internet i've…
-
I have a weird error
at the beginning everything worked very well and then I found this error although I didn't change anything in the code : Success:{statusCode: 400, message: "Cannot read properties of undefined (reading 'v2')"}message: "Cannot read properties of undefined (reading 'v2')"statusCode: 400[[Prototype]]: Object can i help me…
-
image not found error come when i try to update tiltle and discription field only
i got this error : error in blog post: { message: 'Resource not found - https://res.cloudinary.com/drv2gu8b9/image/upload/v1700847934/blog-mern-app/kzg1lxdqfnt2asls0mgq.jpg', name: 'Error', http_code: 404 } this is my create post controller: const createPostController = async (req, res) => { try { const { title,…
-
I cannot upload images on cloudinary using node js and postman and my credentials are also correct
{ url: undefined, asset_id: undefined, public_id: undefined } this is what i get
-
Upload from non-Express Node.js server
I have tried a bunch of different ways to upload images, successfully using the upload widget using signed and unsigned versions. I'm also able to upload an image not using the upload widget using a generated signature returned from our server. One thing I would like to figure out is a solution where I send an image to our…
-
Cloudinary library crashes React app
I'm implementing Cloudinary in my React app, and I'm following the node quick start (https://cloudinary.com/documentation/node_quickstart). I've pasted the code directly from the quick start, and I have my environment variable pasted from my Cloudinary dashboard. When compiling, I'm getting a few dozen errors, all in the…
-
Retrieve video dimensions via Node
Hey! I'm trying to retrieve the dimensions of a few videos I uploaded to my account through this function: const checkImageDimensions = async (imageUrl: string) => { try { await cloudinary.uploader.explicit( imageUrl, { type: 'fetch', resource_type: 'video' }, function (error: any, result: any) { if (error) {…
-
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.