On uploading from next.js frontend, image is uploaded on cloudinary but not on strapi backend, which shows 500 internal server error, on fetching the image

seems like someting is wrong in your schema what is causing this issue.