I am trying to delete a document. this is the code:
database.delete_document(database_id, tag_collection_id, to_delete_id)
The document is deleted correctly, but the function throws the following exception: KeyError('content-type'). Digging into the sdk with a debugger, it looks like the response of the server does not include 'content-type' in the header, while the request library expects it to be there. Any idea why?
Recommended threads
- appwrite pull Tables duplicates all coll...
I encountered a bug when running appwrite pull Tables. Every existing collection in my appwrite.json gets duplicated. One collection ended up appearing three t...
- 1.6.2 to 1.7.0
Hi everyone. I am running a self-hosted Appwrite server on version 1.6.2. What is the safest way to migrate to the next version? Should I update directly to...
- Exception: Route not found when calling ...
I have self-hosted v1.8.1 and I am using an Appwrite function with node-appwrite v22. When I call the createVarcharColumn() in my server function I get this exc...