added error message if no questionId is passed to getSolutions