"Get chat messages report" is not giving edited_messages and deleted_messages

Description

/report/chat/sessions/{sessionId}

among other things, the response should contain edited_messages and deleted_messages arrays, but in our testing we did not get either even though there were deleted and edited messages.

Error
None. The response gave back an empty array of deleted_messages. edited_messages was missing altogether.

Which App Type (OAuth / Chatbot / JWT / Webhook)?
OAuth

Which Endpoint/s?
/report/chat/sessions/{sessionId}

How To Reproduce (If applicable)
Steps to reproduce the behavior:

  1. Request URL / Headers (without credentials) / Body:
    GET /report/chat/sessions/<session_id>?include_fields=edited_messages,deleted_messages&from=2021-10-18&to=2021-10-22
    Authorization header - OAuth Bearer token

  2. Problem:
    “deleted_messages”:
    in the end of the response, and
    “edited_messages” missing altogether.

Also, chats sent to oneself are not included in the reports api.
For our use case (compliance), ability to get chats sent to oneself is also important, given chats sent to oneself may contain sensitive information.

Hi @vivek.thetalake,

Thanks for reaching out about this—is it possible to open up a ticket with us here and include the following details so that we can take a closer look?

  • full request url including session ID
  • account ID
  • if possible, screenshot of the edited messages and/or messages prior to deletion with the timestamps

This will help us to debug.

Thank you,
Will

Thanks for looking into this @will.zoom
Ticket # 12604076
Can you check if the screenshots are helpful?
In a comment I have added a screenshot while deleting a message.

Also, Ticket 12607004. Thanks!

Thanks @vivek.thetalake,

Our team will be in touch shortly.

Best,
Will

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