Back

[SOLVED] 500 internal error cant delete the Document

  • 1
  • Databases
  • Cloud
Mosh Ontong
12 Dec, 2023, 09:08

Even updating the doc is error as well

TL;DR
Title: [SOLVED] 500 internal error when trying to delete document, but successfully deleted Description: User encountered a 500 internal error when trying to delete a document, but the document was successfully deleted. They also tried to delete a relationship attribute, but some collections still experienced the error. The user was asked if they removed all references to related data, and they confirmed they did. User also mentioned encountering errors when updating data. Solution to the problem was not mentioned in the thread.
Mosh Ontong
12 Dec, 2023, 09:18

{ "message": "Server Error", "code": 500, "type": "general_unknown", "version": "0.11.45" }

Mosh Ontong
12 Dec, 2023, 09:20

Even if I got an error on updating the data, but still it updates the data

Mosh Ontong
12 Dec, 2023, 09:21
Mosh Ontong
12 Dec, 2023, 15:48

I cant still delete the document

Ernest
12 Dec, 2023, 16:02

Did you remove all references to related data? I'm asking because your first video showed the relationships. Yes, I know you have an open issue on github and have encountered some of the weird errors with relationships

Mosh Ontong
12 Dec, 2023, 16:17

I just delete the relationship atribute from fac_roles the attribute type is One way, and Many to one

Mosh Ontong
12 Dec, 2023, 16:17

Some of my collection also experience this

Mosh Ontong
12 Dec, 2023, 16:17

so I tried to delete that attribute

Mosh Ontong
12 Dec, 2023, 16:17

and yeah it delete the document successfully

Mosh Ontong
12 Dec, 2023, 16:17

[SOLVED] 500 internal error cant delete the Document

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more