Skip to content

Uncaught error - when ACL feature is turned on, and login credentials not passed  #71

@prashant-shahi

Description

@prashant-shahi

When I ran the example script against dgraph cluster with ACL feature turned on, I encountered the following error, which wasn't of much help.

ERROR:  TypeError: Cannot read property 'serializeBinary' of undefined
    at Object.createPayload (/Users/prashant/dgraph-code/dgraph-js/examples/v1.1/node_modules/dgraph-js/lib/types.js:65:105)
    at DgraphClient.<anonymous> (/Users/prashant/dgraph-code/dgraph-js/examples/v1.1/node_modules/dgraph-js/lib/client.js:86:36)
    at step (/Users/prashant/dgraph-code/dgraph-js/examples/v1.1/node_modules/dgraph-js/lib/client.js:32:23)
    at Object.throw (/Users/prashant/dgraph-code/dgraph-js/examples/v1.1/node_modules/dgraph-js/lib/client.js:13:53)
    at rejected (/Users/prashant/dgraph-code/dgraph-js/examples/v1.1/node_modules/dgraph-js/lib/client.js:5:65)

Meanwhile, we need to have more tests around ACL as well.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions