-
error code 499 while uploading file through nodejs
I am facing error: { message: 'Request Timeout', http_code: 499, name: 'TimeoutError' } meanwhile my internet connection is stable and file size is 55kb. I have tried with other file size still gives same error. Also i tried increasing my request timeout by 10000ms on postman. Tried Thunderbolt also for testing and gets…
-
I'm getting this weird error: Cannot read properties of undefined (reading 'node')
I'm using cloudinary nodejs api in a next.js 14 server actions. It has been working perfectly until recently. When I remove cloudinary from the project, it works perfectly, whenever i add it, i get this error "TypeError: Cannot read properties of undefined (reading 'node')". Please advise
-
Error opening the pdf
Hey devs, I'm trying to build an application and I'm using cloudinary to upload the pdf file and generate a pdf link, however when i open the link, it says error: failed to open the pdf. I searched online and found that it will work once you check the allow delivery of pdf and zip files and I did that and it worked. A few…
-
Compatibility problems with Node 20 (using Remix.run)?
I am using Cloudinary with Node 20 and Remix.run, invoking Cloudinary via the NodeJS API. With the latest version of Remix, it uses Vite as the build/bundler tool instead of Webpack. With only this code in a server component (e.g. upload.server.ts): import { v2 as cloudinary } from 'cloudinary' cloudinary.config({…
-
concatenate videos in nodejs
hi , i am uploading videos to cloudinary in chunks , i want to cocnatenated videos from cloudinary is it possible, i am storing all data like url, assest_id, publi_id etc
-
My MERN stack webapp is working perfectly fine in localhost but after deploying it gives Error : 500
my MERN stack webapp is working perfectly fine in localhost but after deploying it just for testing purposes on render(nodejs-backend) and netlify(react js- frontend) , all other parts are working perfectly except for the apis that have image upload system in them. It shows Error : 500, (name: "AxiosError", code:…
-
Destroy method not working
Hello. I'm working with MEVN stack and I have a controller for modifying users. Users have hojaDeVida (which refers to the resume/CV). If a new resume/CV is provided, the previous one should be deleted from cloudinary but for some reason, the 'destroy' method of the uploader object isn't working. The resume/CV is uploaded…
-
Why Cloudinary is making too many requests? How to fix it?
I am working on a React Project and using cloudinary to store images on the cloud, but when i open the network tab in dev tools I sees hundreds of similar requests made by cloudinary.
-
"Must supply api_key" use cloudinary in production any recommendations
console.log("Esto es el cloud_name de cloudinary", process.env.cloud_name); console.log("Esto es el api_key de cloudinary", process.env.api_key); console.log("Esto es el api_secret de cloudinary", process.env.api_secret); cloudinary.config({ cloud_name : process.env.cloud_name, api_key: process.env.api_key, api_secret :…
-
How to perform HLS in nodejs
I want to stream a video which i uploaded on cloudinary and i stored the public id of that video in my database. So i want to fetch the id from my database and then stream that video here is the code snippet.
-
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…