AA22 expired or not due
AA22 expired or not due is an ERC-4337 EntryPoint error that means the smart account's signature on the user operation is outside the validAfter and validUntil time range it set.
The signature used in the user operation is not valid, because it is outside of the time range it specified.
The smart account's validateUserOp function returns validationData, a bytes32 field. This field is a concatenation of the validAfter, validUntil, and aggregator fields.
This error occurs when the block.timestamp falls after the validUntil timestamp, or before the validAfter timestamp.
Possible solutions
- If you are looking to use time-based signatures, verify that the
validAfterandvalidUntilfields are set correctly and that the user operation is sent within the specified range. - If you are not looking to use time-based signatures, verify that the
validAfterandvalidUntilfields are set to0.