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

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 https://dgraph.io/docs/deploy/#more-about-dgraph-zero

1 Like