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

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"
  }
}

Found the problem: I was missing “

Added an issue to fix the original error : (GraphQL) error when ids is not a list · Issue #4342 · dgraph-io/dgraph · GitHub

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.