Meshery Docs ยท ๐ Extensibility & Reference
ErrInvalidEventErrorCode-11338
Component: library / meshkit
Code: meshkit-11338 (ErrInvalidEventErrorCode-11338)
Severity: Alert
Short description
The error cannot be attached to an event
Long description
The event's metadata.error would break the schemas EventError contract
Probable causes
Each cause lists the remediations that address it.
The error's causes break the error definition contract, for example a missing id, an unknown action policy, or an automatic remediation without an action.
- Run errorutil analyze on the component and fix the definitions it reports.
A matched cause names a cause id the error does not define, or its confidence is outside 0 to 1.
- Correct the code that builds the event so it sets the field as the schemas event construct defines it.