Legacy Dev Forum Posts

 View Only

Sign Up

ApiClient neither throws an error nor sends PATCH request to disconnect agent

  • 1.  ApiClient neither throws an error nor sends PATCH request to disconnect agent

    Posted 06-05-2025 18:30

    Dzmitry | 2024-05-20 12:54:19 UTC | #1

    Hey, I'm trying to use

    PATCH /api/v2/conversations/messages/{conversationId}/participants/{participantId}/communications/{communicationId}

    This API request to disconnect Agent as a user. There are two types of behavior :

    1. If no events, no messages were received from agent (like an agent clicked on convo, see user message and that's it), everything works fine: conversation got "frozen" for agent as expected.
    2. If any event from agent's side received, Java API client produces no errors, but PATCH request isn't sent.

    I can't reproduce it locally, although we have .withShouldThrowErrors(true) for api client.

    So, I was wondering, what kind of problem might occurred? Thanks!


    system | 2024-06-20 09:35:48 UTC | #2

    This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.


    This post was migrated from the old Developer Forum.

    ref: 26348