Added status message to badRequest
Fixed error message