I am using the Appwrite database and I have a table named events. When I add a column named user_id, I am not able to save data to that column from either the API or the UI. I am getting the same error from both the UI and the API. Invalid document structure: Unknown attribute: "user_id"
What's your project id?
<@1386654835583225947> can you please help when you're online again?
here is the project id 67d805a7001d5f9a1bd2
project region: https://fra.cloud.appwrite.io/v1
Just a heads up, I have been getting this error quite a bit this evening. I have a table with a bunch of booleon columns that I imported, all of them defauled to true. Well, 3 of the columns are stuck on NULL and when I change them to true I get the same error you did: Invalid document structure: Unknown attribute: "attendeeCreate"
If I try and delete and column and re-create it, I get an error that: Creation failed Attribute already exists in schema.
So this may not fix your problem, but it certain helped me - I added a delay to my inport script that waits 1s per column when adding the schema. This seemed to fix these issues for me, at least for now. I guess my script was adding tables and columns too fast.
<@310464271068823564> Thanks, I tried dropping and recreating the column from the UI as well, but I’m still getting the same issue with only the column named user_id. I tried adding another column named uid, and it works, but user_id is not working.
Can you confirm if your table name is slack-events and table is events? Can you try deleting the attribute from your end. Let me know once its done
Yes, the database is slack-events and the table is events, I have deleted the column.
I have cleared it from backend also cleared the cache. Can you re-try again now?
I have checked and it's not visible to me either on table view nor on columns view.
Did you re-add it?
No I have not re-added it.
Please re-add it and see if you still have issues
[SOLVED] Unable to add data for "user_id" column
Recommended threads
- GB Hours IS NOT resetting
Hi, I was checking my usage and noticed that all of my usage quotas were reset on August 20, 2026, when my billing cycle renewed. Everything else appears to ha...
- Confused about Appwrite Pro pricing
Hi. I've been subscribed to the $25 Appwrite Pro plan, but I've been getting charged $40. I have two projects on my account. I was wondering where exactly the e...
- Custom domain for Google Auth
Hello! I connected my custom domain to my Appwrite project, but I can't get the Google login/consent screen to show my domain instead of the Appwrite domain. I...