I got an No Auth Token error when alter the schema with dgraph4j client

As in docs, it is auth-token and not X-Dgraph-AuthToken when using it in gRPC metadata.
For HTTP headers, it is X-Dgraph-AuthToken.

See here for reference.

1 Like