This is the intended behavior of the idempotency middleware. When you make an identical request within the expiry window, it returns the previously stored result without re-invoking the handler function. Any logs or code within the handler body won’t execute again.