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
- Appwrite project paused
I have github student account. The auth has been paused however the database is working fine. I cant see any option to resume from my console panel. It is just ...
- Missing Invoice
Hi! I need help with billing on my account (marelu@gmail.com). I have never received a single invoice by email. My organization has been on the Pro plan since...
- Appwrite Functions cold start
Hello. I'm seeing really long cold starts on Appwrite Cloud Functions and wanted to know if this is expected. My function just authenticates the user, fetches ...