-
{"error":{"message":"Upload preset must be specified when using unsigned upload"}}
"I am attempting to upload a file using multipart/form-data, but I keep encountering the error: 'Upload preset must be specified.' Despite this, the request body does include the upload_preset. I've double-checked, and the field appears to be correctly set, yet the error persists. What could be causing this issue?" The…
-
Getting an error during image Upload since 12 Hours using nodejs SDK
Hello , I have not changed anything from my end however, there is an issue during upload: { message: 'General Error', name: 'Error', http_code: 500 } On further investigation, it seems that there is an issue at cloudinary's end Please help. Cloud name: tools cloudinary.uploader .unsigned_upload(article.image,…
-
[Wordpress plugin] Some videos don't sync
Hello everyone, I have a wordpress website that uses Cloudinary plugin to upload media files. I see that some videos don't sync and I don't know why. If I move the mouse on the error icon it says missing header/body separator . I didn't undestand why it happens only for few medias and I don't know how to investigate the…
-
Getting Error: Must supply api_key
This is my config import { v2 as cloudinary } from "cloudinary"; import fs from "fs"; cloudinary.config({ cloud_name: process.env.CLOUDINARY_CLOUD_NAME, api_key: process.env.CLOUDINARY_API_KEY, api_secret: process.env.CLOUDINARY_API_SECRET,}); console.log("CLOUDINARY_API_KEY", process.env.CLOUDINARY_API_KEY); This prints…
-
accessing pdf files
Hi, im new to the use of cloudinary. so im using it for my nextjs 14 website that is able to handle basic crud operations. im facing a problem where i cant access the pdf file and it says Error Failed to load PDF document. in the url of the saved file. ive already tick the box that allows me to upload pdf and zip file. why…
-
Pdf problem
I have a folder that contains many subfolders. Each subfolder contains images and PDFs. I created a preset_img that converts all image types to JPG and a preset_pdf that doesn't modify anything. When I manually upload the folders, the PDFs are being converted using preset_img. The resource type is detected as "image" even…
-
Unable to upload file to cloudinary from my backend application
I am building a node.js application using Express in my window system and when I try to upload a file from my server to Cloudinary I get this error Please help me to figure out this error…
-
Making a document type like raw link not auto download
As a backend developer using nodejs and express, I want to make sure that the link generated from cloudinary for document should be a view link instead of an auto download, how do I do this, I already added the attachment like this flags: 'attachment:false',
-
cloudinary api is not working in development
as i was implementing the cloudinary. follwowing the documentation provided by the cloudinary am getting 500 interanlserver errror?,few minute ago it was perfectly working fine. 2nd Query so cloudinary has a default Home folder. if i create another folder why does it automatically be subfolder of Home? how can i make my…
-
How can I check for existence of an uploaded file
Essentially I am using hash based system and before a file is uploaded, I want to check whether it exists based on the hash - which is set as the filename. I am using NodeJS and I have the following options, use_filename: true, unique_filename: false, filename_override: hashed_name. Basically, I want to check for the…
-
Cloudinary image upload error
I am making the project where i am using cloudinary for image upload. But there is some problem with it, whenever i try to upload the image through my project, it shows me the error:- Error during image upload to Cloudinary: { error: { message: 'Request Timeout', http_code: 499, name: 'TimeoutError' } } Earlier, this issue…
-
Transformation : Blur doesn't work, everytime time out by Make
Hi, I have a problem with Cloudinary, i can't transform my vidéo with any kind of blur, all my request are timeout by Make (Integromat). Someone know what is going on or have a solution for that ?
-
How can i adjust which folder my images upload to in nextjs using CldUploadButton
I'm Stumped with the nextjs docs. i know how to do this with react/express using multers and node, but is there a way to just use the next component to adjust to a dynamic folder so i can have users upload to a folder with their id as the folder name? I have an unsigned upload preset which uploads to a root folder called…
-
How to get private image using public id with Admin API?
Hello, I am using signed uploads, which means my backend generates parameters, including a public id, and a signed signature for the frontend to use to upload an image. Some of the images that are uploaded have type = private. On my backend, I query Cloudinary for the images that the backend has generated a signature for…
-
signed video upload in rust returns "Invalid Signature"
I tried uploading a video to a Rust backend using Signed Upload. However, creating a signed upload using the API according to this documentation keeps returning an error saying "Invalid Signature". I suspected it might be a hashing problem and tried it in another language using the same logic as in my Rust code. The…
-
NextJS 14 Image upload with Server actions.
Hi there folks.I've had some struggle with getting my code working in NextJS with Server actions and TypeScript. Now that I solved it. I would like to share my code in case somebody else stumbled upon the same problem. Lets first start with the page.tsx. I use Shadcn for my forms and custom hooks for passing some props to…
-
Where can I find images that were rejected by AWS Rekognition AI Moderation?
According to the Automatic image moderation flow documentation, rejected images are available for restoration: A rejected image does not appear in your media library, but is backed up, consuming storage, so that it can be restored if necessary. I have uploaded an image that got rejected by AWS Rekognition but I cannot find…
-
413 Request Entity Too Large on Production but it uploads on Local server
this is my code public function upload(Request $request) { $folder = 'product_photo'; if ($request->hasFile('photo')) { $file = $request->file('photo'); request()->validate([ 'photo' => 'nullable|image|mimes:jpeg,png,jpg,gif,svg|max:6048', ]); $cloudinaryResponse = Cloudinary::upload($file->getRealPath(), [ 'folder' =>…
-
upload path
I am tryin to get an image upload to Cloudinary. The following code is what I am using: foreach (var file in args.Files) { var path = @"https://res.cloudinary.com/dtm6vdbf7/image/upload/" + file.FileInfo.Name; FileStream filestream = new FileStream(path, FileMode.Create, FileAccess.Write); await…
-
Failing to send more than one image in Cloudinary
Hi, im using the following code to send a array of images to cloudinary, but the code is always sending the last image, even though all console.logs shows all the images:
-
upload subfolders
Hi, how are you? It would be a question, I have a product project in NextJs and I wanted to know that I can make each product have its specific mass when it is created. For example: cellular products/cell01 cellular products/cell02 In this case, it would retrieve the product slug and create the subfolder using the product…
-
How to set access_control with Windows CLI?
Hello! I am trying to upload an asset and set the access_control to token. However, I can't seem to get the formatting right on the command. call cld uploader upload 1.png -o use_filename true -o access_control '[{"access_type": "token"}]' error: upload() takes 1 positional argument but 2 were given It seems to be an 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' }
-
I tried to upload PDF on Cloudinary using the API, the API returns a path, but when I tried to open
but pdf is uploaded a PDF to my media, but when I try to access it through the URL returned by Cloudinary, it shows this error.
-
Upload image to cloudinary using next js (App router)
I have been trying to upload an image from my next js app to cloudinary using App router version of next js. I will be really happy if someone can look into this for me.
-
dynamic Root URL for raw/upload
This feature is mentioned here https://cloudinary.com/documentation/advanced_url_delivery_options in the context of image types. Is it possible to configure it for raw image types? Thanks Mark
-
Upload API give me 502 Bad Gateway
Hi. I'm in a Next js 13 project. I tried to upload a image using an unsigned upload preset call restaurant and Upload API but it gives me a 502 Bad Gateway. This is my code 'use client' import { useSession } from 'next-auth/react' import { useRouter } from 'next/navigation' import { useState } from 'react' function…
-
Invalid JSON response from server
Hello. So in my Spring application I have this CloudinaryService class with this function that's supposed to take a Base64-enconded image and upload it to Cloudinary: public String uploadFileFromBase64(String base64) { try { @SuppressWarnings("rawtypes") Map uploadedFile = cloudinary.uploader().upload(base64, // the error…
-
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 =…
-
Deprecation Error messages
C:\xampp\htdocs\project\config\cloudinary\vendor\cloudinary\cloudinary_php\src\Cloudinary.php on line 674 [28-Dec-2023 16:28:32 Asia/Kolkata] PHP Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in…
-
the default value of Timeout of Cloudinary's UploadAPI
I am designing a PGM that sends images to Cloudinary using Pythone SDKS. And I am designing a retry to handle errors, but the client is asking for a basis for the number of retries and retry time. So I would like to know the default value of Timeout of Cloudinary's UploadAPI as a reference value.
-
How do I improve the upload speed of videos/large files to cloudinary?
Hi, Ive written the function below to allow users of my website to upload videos to cloudinary. Whilst the function works, it is extremely slow. Its not my internet connection, as I've got 50mbps up and to upload a 30MB file its taking 30-40 seconds. My users will be uploading video files of about 400-500MBs, so this speed…
-
Auto Upload only for images?
I have been successfully using Auto Upload to pull in images. I'm now moving towards non-image files (.csv and .pptx files) and it seems not to work at all - I request the URL and Cloudinary doesn't load them in. Does this only work for Images? Thanks Mark
-
Is there any parameter in upload api that stops eager transformations on uploaded preset images?
The current senario is that 4 eager named transformation is set in upload presets option in setting. Whenever any image is uploaded it produces 4 derived images based on eager transformations. I want to know is there any parameter in upload api that can stop these eager transformations after preset image is uploaded.
-
provider-upload-cloudinary: Why am i getting this error while media library upload
I am trying to upload webm file to my strapi project and i am getting the following error: image 1660×496 71.8 KB my plugins.js file is set to default configuration that is: upload is happening via @strapi/provider-upload-cloudinary which is of version 4.10.1 How can i control the allowed media types.
-
Upload Text Trouble - Custom Font
I'm trying to upload a text on a blank canvas to obtain it's height and width. The text uses a custom font that I've uploaded using the media library. The problem arises whenever I make the request on Postman I receive an image that looks like a default font. I'm assuming the width and height are also not correct either.…
-
Does q_auto create multiple files like f_auto does?
I want to clarify my transformation expenditure when using q_auto. As far as I understand, f_auto creates four different formats of the asset to be served depending on the compatibility of the end-user browser client. I also understand that q_auto analyses each individual asset to determine the optimal delivery quality.…
-
Uploading Files with Incoming Transformations in Postman
I've duplicated the Postman collection and now I'm trying to upload images with the q_auto transformation like this - (with a file selected obviously) No matter what I set the quality too though, I always get a "file size too large" error, showing the same file size for the uploaded file. I can't figure out whether that's…
-
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…
-
Why do some files get uploaded while others say "Could not decode base54"?
I have worked with Cloudinary's API for a few years so I'm basically doing the same thing I've always done, but I'm encountering this new issue. I uploaded avif, jpegs, etc and everything worked fine. Then I tried to upload a png which was created from a screenshot on my Macbook. It kept saying Bad Request 400 Could not…