When I try to delete a document from the users database I have, I just get an error which says Server Error
. Here are the logs from the console.
DELETE https://appwrite.poena.wilkin.studio/v1/databases/653e3784a84b4c91b0fb/collections/653e37db43cec6d3371a/documents/653e7be5d85da3f14bd8 500 (Internal Server Error)
How can I force delete it?
Do you have any logs from the Appwrite server? You should be able to get more detailed logs that can help us to figure out what's happening
How can I get the logs?
Are you running Appwrite in Docker?
I don't think so - I'm just running it on the Appwrite Cloud Beta
I access it through cloud.appwrite.io
Ah right okay, are you able to share the query that you are using to delete the document?
Thanks for helping!
This looks like it could be an issue with the relationship fields that you're using, do the documents that are in the relationship fields still exist or have they been deleted already?
I think they already exist - but some have been deleted
Is it an issue where when it's trying to delete something that's already been deleted?
That's what it's looking like to me but I'm not 100% sure. Are you able to paste the URL that the failed request is going to? It'll give us an idea as to which collection and document it's having a problem with
Hey @Ryan it must be you - it's deleting now
how weird
i mean, you saw it failing, but it's working now!
thanks - i guess?
Yeah, it could have been an outage on the cloud beta, but I guess if it's working now then great!
Thanks 🙂
Recommended threads
- Query Appwrite
Hello, I have a question regarding Queries in Appwrite. If I have a string "YYYY-MM", how can I query the $createdAt column to match this filter?
- Different appwrite IDs are getting expos...
File_URL_FORMAT= https://cloud.appwrite.io/v1/storage/buckets/[BUCKET_ID]/files/[FILE_ID]/preview?project=[PROJECT_ID] I'm trying to access files in my web app...
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...