Throw exception on invalid challenge id