Graphql delete mutation - Internal Server Error - a panic was trapped


(J Czz) #1

Trying to delete Author from the example code in graphql.dgraph?

mutation{
  deleteAuthor(filter:  { ids: "0x2d" }){
    msg
  }
}

Error:

{
  "errors": [
    {
      "message": "[6bb942ef-7b64-43fd-9de7-ba613e6f2e4f] Internal Server Error - a panic was trapped.  This indicates a bug in the GraphQL server.  A stack trace was logged.  Please let us know : https://github.com/dgraph-io/dgraph/issues."
    }
  ],
  "extensions": {
    "requestID": "6bb942ef-7b64-43fd-9de7-ba613e6f2e4f"
  }
}

(J Czz) #2

Found the problem: I was missing “


(Michael Compton) #3

Added an issue to fix the original error : https://github.com/dgraph-io/dgraph/issues/4342