Looking at the code, I see that the precise reason for the message is that the set the student is trying to access is not open yet. Check the open dates for the sets. You may also need to check the sets for the users. There may be an override for those particular students for some reason.
WeBWorK Main Forum
Error after setting up LMS integration: "The selected problem set is not a vlid set for xxx"
This forum has a limit to the number of forum postings you can make in a given time period - this is currently set at 10 posting(s) in 1 day