Update redirect type, in order to test if the actual redirection it's causing the error.