Search or scroll through everything
To realize that the problem is with the farthest thing I could ever think of Can someone explain why cloudinary.config doesn‘t accept .env varriavbles While Iam 100 sure I declared and configed the dotenv
Why is my image upload media stopped? what did I do wrong?
This is my cloudinary config file and when i am trying to upload something i am getting error. Code — 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,…
// Cloudinary.jsimport { v2 as cloudinary } from "cloudinary";import dotenv from "dotenv";dotenv.config(); // Configure Cloudinary using environment variablescloudinary.config({ cloud_name: process.env.CLOUDANARY_NAME, api_key: process.env.CLOUDANARY_API_KEY, api_secret: process.env.CLOUDANARY_SECKET_KEY,});export default…
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 :…
import { v2 as cloudinary } from "cloudinary"; cloudinary.config({ cloud_name: process.env.CLOUDINARY_CLOUD_NAME, api_key: process.env.CLOUDINARY_API_KEY, api_secret: process.env.CLOUDINARY_API_SECRET }); const uploadOnCloudinary = async (localFilePath) => { try { // Upload the image const result = await…
I'm a bit concerned because no matter what I try the verfiyNotificationSignature function always returns false. I'm using the Cloudinary Node SDK. v2.config({ api_key: process.env.NEXT_PUBLIC_CLOUDINARY_API_KEY, api_secret: process.env.CLOUDINARY_API_SECRET, }); code snippets as follows: import { v2 } from "cloudinary";…
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…
Everything works fine when I run my app on the development side but after I deploy to Heroku and my site is in production, I see in the Heroku logs.. "Error: must supply api_key". Not sure what's happening here, does it have something to do with the "unsigned" setting? I made the update to "Unsigned uploading enabled" but…
I have an API that is used by multiple sites to upload. I want to disable their ability to upload for few minutes while I perform some updates. Can I safely toggle the Active Status of API and then enable it again after some time to stop them uploading images or I will need to change API key once I enable it again.
Hello, Where can I find my cloudinary api_key and api_secret?
You need to be logged in to ask or answer questions. You can use your Cloudinary account, just click the "Sign In" button.