rohan
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. Drake
What's your setup and what's the data?
Recommended threads
- The current user is not authorized to pe...
I want to create a document associated with user after log in with OAuth. The user were logged in, but Appwrite said user is unauthorized. User is logged in wi...
- Having issues with login via CLI
``` ~/appwrite appwrite login --endpoint https://localhost/v1 --verbose ? Enter your email myvalidemai...
- Attributes Confusion
```import 'package:appwrite/models.dart'; class OrdersModel { String id, email, name, phone, status, user_id, address; int discount, total, created_at; L...