project_ai_mern_image_generation
project_ai_mern_image_generation copied to clipboard
Bartender API access denied
I had an error while opening http://localhost:8080/api/v1/dalle "Bartender API access denied." because it violates the following Content Security Policy directive: "default-src 'none'". Note that 'frame-src' was not explicitly set, so 'default-src' is used as a fallback.
Hey @akshaykps, if you're using the keys mentioned in the YouTube video, kindly replace them with yours. Apparently, many people used the same keys we used for the project, thus leading to free credits exhaustion. If you create your account, you'll get these free credits. Paying after that is your choice, but initially, you don't have to pay or use any credit card.
These are the keys you'll need:
- OpenAI API key
- Cloudinary Keys
- MongoDB URL
Please create your account and use them in both server-side code and the deployment (Do not forget to add these keys as Environment variables when you start to deploy the server on Render)
Thank you!