When I try to upload images, they store there as file so download url gives error for images.
Asked
Active
Viewed 457 times
2
-
Please don't post screenshots of your code, or other textual content such as error messages. Instead post the actual text, and use the formatting tools of Stack Overflow to mark it up. Also see: [Why not upload images of code/errors when asking a question?](https://meta.stackoverflow.com/questions/285551/why-not-upload-images-of-code-errors-when-asking-a-question) – Frank van Puffelen Apr 10 '22 at 14:12
1 Answers
0
This is likely a CORS related issue, see this official page for solutions.
Not sure what impact this will have (if any), but I'm also noting you haven't specified the MIME type and the MIME type of the file is application/octet-stream
, consider specifying the correct MIME type for the file i.e. image/jpeg
for JPEG.

Dean Taylor
- 40,514
- 3
- 31
- 50