Meshery Docs ยท ๐ Extensibility & Reference
ErrInvalidClientEventCode-1489
Component: component / meshery-server
Code: meshery-server-1489 (ErrInvalidClientEventCode-1489)
Severity: Alert
Short description
The event's correlation, provenance, trace or metadata.error fields are not valid
Long description
Probable cause
- A field breaks the meshery/schemas event contract: a correlationKey, source or type outside 1 to 255 characters, an occurrenceCount below 1, a lastSeenAt before firstSeenAt, a specversion other than 1.0, or a traceId or parentId that is not W3C Trace Context hex
- A metadata.error object carrying a lowercase code key breaks the schemas EventError contract: a value of the wrong JSON type or an unknown key, an empty code, a severity that is not an error severity, too many causes or remediations, a duplicate cause id, one remediation id naming two different remediations, an automatic or requiresApproval actionPolicy without an action, flat probableCause or suggestedRemediation lists that are not the ones derived from probableCauses, or a matchedCauses entry whose causeId is malformed, is not one of probableCauses, or whose confidence is outside 0 to 1. The long description names each failing field path
Suggested remediation
- Send the fields as the schemas EventPayload defines them, or omit the ones the client does not set
- Send metadata.error as the schemas EventError shape (code, shortDescription and the other defined keys only), or drop it when the client has no structured error to attach