Enabling correct processing of 400 error