User Message API for sending message back not wokring | Community
Skip to main content

User Message API for sending message back not wokring

  • June 5, 2024
  • 1 reply
  • 0 views

Yogendra

We are using the Zendesk CLI tool for our Translation app to translate user messages and post them back to the Zendesk chat window. We are using the logic `client.invoke('ticket.sendMessage', { channel: value1, message: value2 })`. However, we are encountering an error: "This action can only send a message during an active chat, messaging, or direct messaging in a social channel." Even though we are interacting with an active chat, the 'ticket.sendMessage' method, which previously worked, has suddenly stopped functioning. Please suggest a solution to resolve this issue.

1 reply

Hi Yogendra,
 
I see you have an open ticket about this.  I'll be working with you through that ticket to review some account setting and ticket data-specific details.