SAP Knowledge Base Article - Public

3412806 - Error: "Bad payload syntax","moreInfo":"event type cannot have empty segments after cleaning: kyma.mp-testc4c"

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

  1. Go to Administrator -> Event Notification
  2. Add Event -> Opportunity -> Field Changed
  3. Event Saved as: Opportunity.Root..AnyToWon (for example)
  4. Trigger the event by setting an opportunity to won.
  5. 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

Product

SAP Cloud for Customer core applications 2311