Closed SanchitB23 closed 7 months ago
hey @SanchitB23 when do you encounter the API Error
issue?
which version of the plugin and payload
are you using?
hey @SanchitB23, are the env
variables properly set?
There was an issue with the latest updates from payload
(you can see here: https://github.com/finkinfridom/payload-cloudinary-plugin/issues/130) and maybe you're facing the same.
I have done the configuration part as mentioned in the plugin readme, but still unable to successfully fulfil the request, when trying to upload getting error :
ERROR (payload): APIError: Cloudinary: {}
my
Server.ts
fileapp.use(mediaManagement(cloudinaryConfig))
My
cloudinaryConfig
Objectconst cloudinaryConfig = cloudinary.config({ cloud_name: process.env.CLOUDINARY_CLOUD_NAME, api_key: process.env.CLOUDINARY_API_KEY, api_secret: process.env.CLOUDINARY_API_SECRET, });
My
payload.config.ts
fileplugins: [cloudinaryPlugin()],