API content is highly variable, and isn't always parsed correctly by the NPRAPI class.
Add a custom error handler and/or try/catch block to the parse command. The catch block should ideally use a custom validation rule to mark the NPR Story ID field as invalid, abort the entry save, and display the parse error on the channel entry form.
In GitLab by @areynold on Aug 14, 2019, 11:05
API content is highly variable, and isn't always parsed correctly by the
NPRAPI
class.Add a custom error handler and/or try/catch block to the parse command. The catch block should ideally use a custom validation rule to mark the NPR Story ID field as invalid, abort the entry save, and display the parse error on the channel entry form.