Assertions are not used anywhere else in requests. This should be a conditional. Beyond that, if you are going to insist on using an assertion then you should provide the user a usable message as to why the assertion failed.