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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...