How to solve mutation conflict

Hey @Ro0tk1t, sorry for the inconvenience. There was a minor bug that caused the bulk loader to crash without printing the error message.
Basically, you are trying to insert data whose type is defined as scalar(string, int, float, etc) in the schema while in the data file it is of type uid.
Example:
Schema: name: string .
Data: _:a <name> _:b . or _:a <name> uid(0x10) .
This PR fix(bulk): throw the error instead of crashing by NamanJain8 · Pull Request #7722 · dgraph-io/dgraph · GitHub should fix this issue. But still, you would need to correct your data. You will see this crash error message with my change:

2021/04/14 12:43:01 RDF doesn't match schema: Input for predicate "name" of type scalar is uid. Edge: entity:4600001 attr:"\000\000\000\000\000\000\000\000name" value_type:UID value_id:4700001 

Do let me know in case of any queries or help needed with data loading.
Thanks for reporting the bug. :slight_smile: