I've been getting an error:
Invalid document structure: Missing required attribute "board_id" when trying to add a document to a collection even though I added this. Here's how the Javascript function looks like:
api.createColumn({ title: columnName, board_id: bId }); and in the column collection, I defined the title and board attributes. What's wrong?.
P. S. The bId represents the id of the board that the column belongs to.
Can you please share the code for the createColumn function?
Oh, so sorry Steve, I realised I had not passed a parameter to the function. So sorry. I'll make sure to review my code for mistakes before making a post in the support channel. So sorry again.
[SOLVED] Unable to add document to collection
Recommended threads
- SSL Certificate Failure - Using Appwrite...
When we attempt to apply our custom domain to our appwrite site, we consistently receive the following error. [23:44:49] Processing SSL certificate issuance. ...
- [Self-hosted] Realtime crashes with "Mis...
- Regarding Rate Limits
Hello, I am a student engineer who built an internal website for my university club using AppWrite. My club currently has around 500 members, and when I recent...