I have created my own external library but I get a "500 internal server error" that directed me to look in the log files. I found this error in the logs.
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.some.package.SomeClass
My external jar contains MyAwesomeClass that I call in my script. I do not use SomeClass anywhere in my script.