adrianhajdin / project_ai_mern_image_generation

Build and Deploy a Full Stack MERN AI Image Generation App MidJourney & DALL E Clone
https://jsmastery.pro
1.08k stars 302 forks source link

new image not post in community page #38

Open mdsahilhussain opened 1 year ago

mdsahilhussain commented 1 year ago

hello everyone. I face issues posting new images on community pages when I use baseURL = "https://dall-e-brtd.onrender.com" but when I use baseURL = "http://localhost:8080" all website functions work well.

so when using this URL to post API calls I got this error {"success": false, "message": "Unable to create a post, please try again"}

Screenshot (29)

Screenshot (28)

mdsahilhussain commented 1 year ago

but all API calls working fine with baseURL = "https://dall-e-brtd.onrender.com/" only face issues posting new images on community pages

avadhutlohar commented 1 year ago

I was also facing the same issue ,Deploy the website using netlify or any other hosting service it will get sorted.

LAKSHAYNE commented 1 year ago

It is because of the API keys of Cloudinary, put them in the env while deploying. It should work fine

codev-dean commented 1 year ago

Were you guys able to resolve this issue?