Deletion with upsert is not working

Well, the problem relies on your side. I don’t have access to it or time to look at somehow. The issue certentanly is much simpler. It might be your schema, missing the dgraph.type correct, or the type is wrong missing the correct predicates. Check one by one. I can’t tell what it is from what you have shared.

If your data and you schema is not aligned. Some functions like delete won’t work.