That is because it don't know the filetype or the filename. Best way to upload the image?
You're right, it's because by default,
If it seems appropriate (and safe) for you to grant this capability to the user role that will be initiating the sideload, then you could do that:
Run this once from your
Note: I can't say I truly recommend this approach, because it does peel away one layer of security from what is potentially the most dangerous thing a user can do on your site: upload a file. If you do this, make absolutely certain that you sanitize your image file before exposing it back to the user, and don't give them a direct URL to the upload, otherwise they could upload any old webshell and you're completely and totally hacked.
You have been warned.