I would encourage users who are running into this (with a custom NinjaScript that you cannot edit) to contact the original developer and let them know that they must change the enum number.
We've edited the help guide to include a recommendation for developers to use a number that is >1023:
Comment