LPS-50791 we can not redirect on error. Otherwise, values from the request are lost