this is the save into code what might be the issue here
Discussion posts and replies are publicly visible
The error message says "Received null input for dictionary". So your rule input seems to be null.