
i am creating a social media app utilizing appwrite but during a function which is postform for creating post, i encounter some issue when i create post

@D5

message":"Server Error","code":500,"type":"general_unknown","version":"0.12.142"}

Thanks for creating the post!

What's the code that throws that?

cloud.appwrite.io/v1/databases/65d5ac8a17f677bd67d5/collections/65d5ad4566ee507f9576/documents:1
Failed to load resource: the server responded with a status of 400 ()
api.ts:163 Error creating post: AppwriteException: Invalid document structure: Missing required attribute "accountId" at Client.<anonymous> (http://localhost:3000/node_modules/.vite/deps/appwrite.js?v=fbe98513:850:17) at Generator.next (<anonymous>) at fulfilled (http://localhost:3000/node_modules/.vite/deps/appwrite.js?v=fbe98513:488:24)

its due to failed to load resource: the server responded with .....


Yes, but what's the app code fragment that throws that error?
Recommended threads
- 500 Error on Console when Using Custom D...
Hey 👋 I’ve set up a custom domain for my Appwrite Cloud project (<my-custom-domain>). DNS is configured and the organization view loads fine when I open the c...
- 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...
