31730 Negative time offset
Cause
This error occurs when the expiresWhen property of a JadeGenericMessage instance is set to a date and time value that has already expired.
In the following example, the expiresWhen property is set using the setExpiryRelativeToNow method with a negative value for the lifeTimeSeconds parameter.
msg.setExpiryRelativeToNow(-10);
Action
Correct your code.