Symptom
In the event notification monitoring you see the error: "Bad payload syntax","moreInfo":"event type cannot have empty segments after cleaning: kyma.mp-testc4c".
Environment
SAP Cloud for Customer
Reproducing the Issue
- Go to Administrator -> Event Notification
- Add Event -> Opportunity -> Field Changed
- Event Saved as: Opportunity.Root..AnyToWon (for example)
- Trigger the event by setting an opportunity to won.
- Go to event notification monitoring, there is an error.
{"status":400,"type":"bad_payload_syntax","message":"Bad payload syntax","moreInfo":"event type cannot have empty segments after cleaning: kyma.mp-testc4c.Opportunity.Root..AnyToWon.v1"}
Resolution
When using the option to register for specific field changes, there will always be a double .. in the event type.
There are a huge number of customers which registered to this kind of events, as for now this cannot be changed without disrupting the existing implementations.
Resuming, the development team doesn't see viable chances to change the event name on C4C side, as this would have an impact on existing implementations which will no longer work past the changes are applied.
This is the expected system behavior.
Keywords
bad; payload; syntax; event; type; empty; segments; cleaning; kyma. , KBA , LOD-CRM-CMN-EVT , C4C: Event Notifications , How To