Back

why i can't upload this picture in any of my buckets?

  • 0
  • Web
  • Storage
  • Cloud
manazo
6 Jan, 2024, 18:24

yeah it's quite weird. I've tested my app's upload features with more than 100 pictures. all of them worked. but I got an error only with this. first I thot something was up with my code. after seeing "Server Error" message in my console, I tried uploading it directly from the appwrite console. but I'm getting the same error there as well. I tried uploading it to some other test projects and buckets. the error is the same everywhere. what is wrong with this file?

TL;DR
User is experiencing an error when trying to upload a specific picture to their buckets in an app. They have tried uploading the picture from different projects and organizations, but the error persists. Other pictures uploaded successfully. They have also tried uploading directly from the appwrite console and received the same error message. The user is unsure what is wrong with the file and is seeking assistance. Solution: One suggestion is that the picture may be corrupted or incomplete. The user is advised to check the MIME type and ensure the image is not corrupted. Another user found a similar issue and it was resolved by uploading to a new bucket. The user also notes that the
ZachHandley
6 Jan, 2024, 19:08

could be an incomplete image or something

manazo
6 Jan, 2024, 19:09

wdym by incomplete image?

ZachHandley
6 Jan, 2024, 19:11

So I had this happen to me once, and it was because the image was corrupted

ZachHandley
6 Jan, 2024, 19:11

which didn't make a ton of sense, because as you have shown you can still post the image and it still exists, did you check Mime Type and all that good stuff?

manazo
6 Jan, 2024, 19:15

yes. it's image/jpeg

Drake
6 Jan, 2024, 21:20

If this is on Appwrite Cloud, would you please share your project id?

manazo
6 Jan, 2024, 21:39

i tried it from multiple projects from multiple organizations. IDs are below: 651c5286130842af844b (org A) 658ed14e38e3a5fea10c (org A) 65005042d8a8dd586edd (org B) 64cab6bee6061abdce37 (org B) 6483058e90e34e130379 (org B)

i can share the organization details as well if u want

Drake
6 Jan, 2024, 22:06

Project id of the most recent please

manazo
6 Jan, 2024, 22:50

651c5286130842af844b

Drake
6 Jan, 2024, 22:52

When's the last time you tried the upload?

manazo
6 Jan, 2024, 22:56

i just tried again

Drake
6 Jan, 2024, 23:00

Weird...I don't see anything for that project 🧐

manazo
6 Jan, 2024, 23:03

i just tried again

Drake
6 Jan, 2024, 23:09

Weird...nothing...

I'll have to troubleshoot this on Monday, sorry

manazo
6 Jan, 2024, 23:10

okay. no worries🤝

manazo
9 Jan, 2024, 07:08

@Steven

ideclon
9 Jan, 2024, 07:12

Interestingly, can reproduce - but only on Cloud, not on self-hosted (running 1.4.13)

ideclon
9 Jan, 2024, 07:12

Just tried uploading, project ID 64f86390adbe93144ebe

D5
9 Jan, 2024, 08:10

And storage usage is negative? 🧐

ideclon
9 Jan, 2024, 08:17

Not related - in my case, it was to a brand new bucket, which is the only bucket in the project

D5
9 Jan, 2024, 08:18

I see. Anyways it should not be negative

manazo
9 Jan, 2024, 20:55

yeah i also noticed that. it was negative for a few days. now it's back to positive (the usage amount also have changed)

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more