Hi, im trying to delete a document but im getting server error..
network logs
TypeScript
{
"message": "Server Error",
"code": 500,
"type": "general_unknown",
"version": "1.4.9"
}
appwrite logs
TypeScript
[Error] Timestamp: 2023-11-11T08:36:28+00:00
[Error] Method: DELETE
[Error] URL: /v1/databases/:databaseId/collections/:collectionId/documents/:documentId
[Error] Type: Error
[Error] Message: Call to a member function getId() on null
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 3924
TL;DR
User is experiencing a server error when trying to delete a document. The error message suggests a problem with the appwrite database. The error log indicates a "Call to a member function getId() on null" error. There is no solution provided in the thread.What's your setup and what's the data?
Recommended threads
- One org lost all data out of 13 org's af...
> https://<domain>/v1/storage/buckets?queries%5B0%5D=%7B%22method%22%3A%22limit%22%2C%22values%22%3A%5B6%5D%7D&queries%5B1%5D=%7B%22method%22%3A%22offset%22%2C%...
- database documents relationships
after migrating from 1.7.4 to 1.8, database get document and list documents is getting results but with no relationship values, the relationship attribute will...
- deployment on every remote branch leads ...
Hi there, on my local appwrite instance it rebuilds my site on every deployment i make to github on every branch, even the main branch is set in the site settin...