LPS-42359 Redirect bug with upload exception