I can't share anymore.
Discussion posts and replies are publicly visible
The error message points toward an internal issue. I suggest to open a support case.
But, the first thing Appian will ask for, is a code snippet which reproducible shows that error. My approach is to reduce that interface to the minimal version still showing the error. I try to embed as much code directly instead of calling expressions.