[SOLVED] appwriteException: Invalid document structure: Unknown attribute: "Images"
- 0
- Databases
- Web

While I try to add something in the Database I'm getting this error even though the Images attribute doesn't even exist in the Database. How do I fix this issue ?

Please help I need to fix this asap

For image upload you should be using Storage. You can read more here - https://appwrite.io/docs/products/storage/upload-download

I upload my images to storage, if you try and upload a Blob you need to convert it into a file. If you for some reason do want to store it in DB you can just use JSON.stringify(obj) to store it as a string. You would then need to use JSON.parse() on client side to get the actual object.

Well I'm storing my images in the storage and storing the image id in the db. I'm still figuring out how my code worked even after not tinkering with the code. Maybe cause I deleted the Image attribute from the db, still don't know how it worked.

I dont mind as long as the code is working <:appwritepeepo:1156975874852270110> .

If you deleted the image attribute fro the database, that’s what’s causing this error, you’re trying to create a document somewhere that still has the image attribute in it

Guess we are good then? 👀 And can consider this issue solved?

yup <:appwritepeepo:1156975874852270110>

[SOLVED] appwriteException: Invalid document structure: Unknown attribute: "Images"
Recommended threads
- 2 Columns still processing since yesterd...
Hey o/ Yesterday (around <t:1758045600:f>), I created a database and added several columns to it. After about 15 minutes, most of the "processing" tags disappe...
- 503 Timeout when Updating or Upserting D...
Hey I’m running into an issue when trying to update or upsert a row in Appwrite. The request hangs for a while and then throws this error: ``` AppwriteException...
- Row with the requested ID already exists...
I’m hitting a blocking issue creating rows in Appwrite (both from the console and my React Native app). After successfully inserting the first row, every subseq...
