Troubleshoot Errors

Troubleshoot common errors when using the Conversation Service APIs.

If the MEU has any open Messaging sessions, delete requests fail with a 412 Precondition Failed error. Ensure that all associated Messaging sessions are fully closed before attempting deletion.

If a child entity related to the Messaging End User (MEU) or their associated sessions has a restricted relationship that prevents the parent object from being deleted, the delete request fails.

This error is usually caused if the MEU or their associated MessagingSessions or VoiceCalls have associated EngagementAttendee or EngagementTopic objects.

To resolve this, check for any linked EngagementAttendee or EngagementTopic records and delete them manually before retrying the delete operation. If no such records are found, review other child objects related to the MEU or MessagingSession objects. Depending on your org’s configuration, there might be custom or managed package objects with restricted relationships that are preventing the delete operation.