raise error if question_id is unexpected value

nil and positive integer values are accepted. Anything else will raise an error.

[#66360102]