Question

Issue uploading image to space

Hello, i have a Django which recenly migrate from use AWS S3 buckets to use Digital Ocean Spaces.

The issue i’m having is the next:

When i try to upload and image to the space it looks like works fine, but in the moment i want to access that image the image doesn’t exist in the Space.

This is not happened with all the images, some images like PNG, 299x169 size 2.09 kb is uploaded and showning ok.

Also i’m not having any error message or some alert that there is a problem with the file upload.

Do you have and idea what could be happening? Thanks.


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello, @Atneses

Have you tried to upload the failing images manually in order to check if everything works fine wit the manual process? The issue might not be with the way you upload the images but with the images itself.

I had a similar issue where an image was failing to load when trying to access it and I found that the image file was somehow corrupted and causing the issue for me.

Hope that this helps! Regards, Alex