Seems to be when the httpStatus = "x" was turned into httpStatus = x, which is assign the numeric value, the application started working correctly.