Error: t: Uid: [10001] cannot be greater than lease: [10000]

insert data error . for example

“uid”: “10001”,
“name”: “join”

Hey @wangliujing, error is because you are trying to insert uid which is greater than uid leased by zero. You can ask zero to lease more by hitting /assign endpoint of zero. For more details check this

1 Like

Uids have to be allocated by Dgraph, or leased out explicitly by Zero.

See /assign?what=uids&num=1000

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