Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 Bug Report: Server error when deleting a document #7278

Open
2 tasks done
Tapesh-1308 opened this issue Dec 13, 2023 · 4 comments
Open
2 tasks done

🐛 Bug Report: Server error when deleting a document #7278

Tapesh-1308 opened this issue Dec 13, 2023 · 4 comments
Assignees
Labels
bug Something isn't working feature / relationships Fixes and upgrades for database relationships product / databases Fixes and upgrades for the Appwrite Database.

Comments

@Tapesh-1308
Copy link

👟 Reproduction steps

I encountered a server error while trying to implement a delete functionality in my project. Upon investigating, I discovered that the issue is with Appwrite itself. I attempted to delete directly from Appwrite, but encountered the same server error. The error was related to deleting documents from collections in databases.

👍 Expected behavior

It is expected that the deletion of a particular document from the collection should be successful without displaying any server errors.

👎 Actual Behavior

image

🎲 Appwrite version

Appwrite Cloud

💻 Operating system

Windows

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@Tapesh-1308 Tapesh-1308 added the bug Something isn't working label Dec 13, 2023
@stnguyen90 stnguyen90 changed the title 🐛 Bug Report: 🐛 Bug Report: Server error when deleting a document Dec 13, 2023
@stnguyen90 stnguyen90 added the product / databases Fixes and upgrades for the Appwrite Database. label Dec 13, 2023
@stnguyen90 stnguyen90 self-assigned this Dec 13, 2023
@stnguyen90
Copy link
Contributor

@Tapesh-1308. thanks for creating this issue! 🙏🏼 Would you please share your project ID? Also, does this collection have relationships?

@Tapesh-1308
Copy link
Author

@stnguyen90 Here is my project id 656e00a196a8244c86a1
Also, this collection have relationships

@stnguyen90
Copy link
Contributor

@Tapesh-1308, it's most likely a problem with the relationships. What is the collection ID and document ID of the document you're unable to delete?

@stnguyen90 stnguyen90 added the feature / relationships Fixes and upgrades for database relationships label Dec 15, 2023
@Tapesh-1308
Copy link
Author

Well, I am unable to delete data in every document of every collection, may be because of having relationships in every collection.

I have 3 collections in my project database

  1. users: 656ecb586a3a14542e59
  2. posts: 656ecb31cb12a47afffb
  3. saves: 656ecb7f251d98fde34b

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature / relationships Fixes and upgrades for database relationships product / databases Fixes and upgrades for the Appwrite Database.
Projects
None yet
Development

No branches or pull requests

2 participants