I managed to break our UI by assigning a “nameles...
# ingestion
h
I managed to break our UI by assigning a “nameless” owner to a dataset. The error was only caught in the UI:
Copy code
Caused by: com.linkedin.data.template.TemplateOutputCastException: Invalid URN syntax: Urns with empty entityKey are not allowed. Urn: urn:li:corpuser:: urn:li:corpuser:
Would be good to have some validation in the MCE.
g
Completely agree- we shouldn't allow ingestion of obviously malformed MCEs. Let me a file an issue for this.
m
@high-hospital-85984: are you sending this MCE over Kafka or HTTP ?
h
Kafka
m
Ok... I think client-side MCE validation will always lag server-side MCE validation. So we can keep improving the client-side piece... but it will never be perfect
now.. in this case, I don't know if the server validates this either... we had a pending item to validate the MCE on the server-side before persisting it.. and we may not have gotten to it yet