WeBWorK Main Forum

Error after setting up LMS integration: "The selected problem set is not a vlid set for xxx"

Error after setting up LMS integration: "The selected problem set is not a vlid set for xxx"

by Szabolcs Horvát -
Number of replies: 3

We are trying to use LMS integration (with Canvas) for the first time. We have a fresh WeBWorK 2.19 installation, and are using LTI 1.1 (since I couldn't get what I needed for 1.3 from IT). I created student accounts manually, using a webwork.lst file. I disabled automatic account creation through Canvas (though not immediately, so a few accounts got created this way). 2FA was enabled at the beginning, but I now disabled it for students (keeping it for ta and above).

Some students see the following error when they try to access an assignment through Canvas. Does anyone have any hints for me to on what may be wrong / how to debug this? I do not see anything special about the student accounts that experienced this error. I did not see the error with the few student accounts that I could test directly. I wasn't able to find anything that seems relevant either in webwork2.log or the course log.


Attachment Pasted_Image_22_08_24__11_29.png
In reply to Szabolcs Horvát

Re: Error after setting up LMS integration: "The selected problem set is not a vlid set for xxx"

by Glenn Rice -
This means that the set is not assigned to the student. If you added student accounts manually, then you need to also assign sets to the those students. If students are added automatically via LTI authentication, then it does that for you.
In reply to Glenn Rice

Re: Error after setting up LMS integration: "The selected problem set is not a vlid set for xxx"

by Szabolcs Horvát -
The set is actually assigned to the students who are complaining about this error. It is assigned to all students, and I double-checked those who complained.

They claim that the error appears even if they log using username/password, without involving Canvas, they see this error, but I wasn't able to get anyone to demonstrate the issue to me in person. The students I did test with in person had no issues.

My guess was that WeBWorK somehow wasn't matching up the Canvas account with the WeBWorK account, and trying to create a new user. (New user creation is disabled.) Is this possible?

Do you have alternative suggestions about how I might be able to debug this?
In reply to Szabolcs Horvát

Re: Error after setting up LMS integration: "The selected problem set is not a vlid set for xxx"

by Glenn Rice -

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.