Event 'ticket.submit.done' with invalid field | The place for Zendesk users to come together and share
Skip to main content
Question

Event 'ticket.submit.done' with invalid field

  • May 10, 2023
  • 1 reply
  • 0 views

Василь

Hi there,

I entered invalid data in a field on the ticket form, and my ticket wasn't saved due to a validation error. I'm confused about why the 'ticket.submit.done' event was triggered even though there was an error. Additionally, the 'ticket.submit.always' event worked, but I'm not sure why the 'ticket.submit.fail' event wasn't triggered - it would have made logical sense for it to be triggered in this case.


How do I get data about a field validation error in my application?

1 reply

Eric27
  • May 10, 2023
Hey Василь,

Based on your screenshot it looks like a ticket.save event may actually have complete which is why we see "Ticket.updated" this was probably from some other process or app running another update at the same time. This could be what the ticket.submit logs are in reference to, though it's tough to say based on the information that we have. If you'd like us to take a closer look feel free to open up a support request and share a screen recording replicating the issue.