Adding Images to Library Fails

I set save to “Media Library” in settings for generated images and when I try to generate one I get an error: “From OpenAI: could not move file”.
The generated image doesn’t appear on the dashboard either.
Do I need to set extra permission or something?

When I set Local Download: None
It generates images as usual, but when I want to add it to the media library, I receive an Error: Invalid file type.
The images are in .png, I tried changing the extension to .jpeg, but of course, it doesn’t work. So I can only download the image to a hard disk and upload it to media library.


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer