If you attempt to submit an event subscription, but the backend blocks it when validating it, the back-end returns a 424. The front-end does a nice job of displaying this information in a dialog. However, once that dialog is closed, the attempted subscription is lost. I can think of two (non-exclusive) ways to address this:
- Do front-end validation on the fields before submitting. The most important one is probably the JSONPath filter, since it is an actual code snippet, and can get complicated.
- If the back-end returns an error code, keep the creation dialog open with the submitted values, or reopen the dialog with the previous values repopulated.