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

Getting 401 when reading images from cloudinary #30

Open ion-girloanta opened 1 year ago

ion-girloanta commented 1 year ago
image

The same happens at the demo app at https://jsm-dall-e.com/

image

akngngr commented 1 year ago

Hey @ion-girloanta - I had a similar issue. When I pasted the API key initially it didn't copy anything after the hyphen. I fixed it by correcting the Cloudinary API key in Environment settings of your back end hosting provider. If you followed the YT video then https://dashboard.render.com

yashwant1711 commented 1 year ago

401 - Invalid Authentication Cause: Invalid Authentication Solution: Ensure the correct API key and requesting organization are being used. source : openai api errors.