curl -X POST localhost:8080/login -d ‘{
“userid”: “groot”,
“password”: “password”
}’
this command not working in terminal
it gives error
{“errors”:[{“message”:“Authentication from address 172.17.0.1:52436 failed: while querying user with id groot: : Attribute dgraph.xid is not indexed.”,“extensions”:{“code”:“ErrorInvalidRequest”}}],“data”:null}
how to solve this? Do i need a dgraph contract for working with ACL.??