Basically, I am making a discord bot and using appwrite's db for the settings. here is my code:
db.create_document(
database_id=dbname,
collection_id=scol,
document_id=str(interaction.guild.id),
data={}
)
and in the ss you can see, all my attributes are non-required.
however, Appwrite gives me this error (in the next msg since the error too long)
Help me bypass this.
TL;DR
Error: Appwrite is giving an error when creating a document with non-required attributes and empty data.
Solution: Instead of providing an empty dictionary for data, only include the required attributes when creating the document.