File upload failure to Cloudinary using strapi v4

thanks, @devinekadeni for the solution, I finally got this issue sorted by altering my plugins.js file
OLD plugins.js

module.exports = ({ env }) => ({

    upload: {
        provider: 'cloudinary',
        providerOptions: {
            cloud_name: env('CLOUDINARY_NAME'),
            api_key: env('CLOUDINARY_KEY'),
            api_secret: env('CLOUDINARY_SECRET'),
          
        },
        actionOptions: {
            upload: {},
            delete: {},
        },
    },

});

NEW plugins.js

module.exports = ({ env }) => ({

    upload: {
        config:{
        provider: 'cloudinary',
        providerOptions: {
            cloud_name: env('CLOUDINARY_NAME'),
            api_key: env('CLOUDINARY_KEY'),
            api_secret: env('CLOUDINARY_SECRET'),
          
        },
    },
},
});
2 Likes