Add error message when request does not contain expected parameters