Create a User API call only sometimes works

Jump to solution
SamQuilter
Community Member

Hi All,

Just found that I every time I create a batch of new students, intermittently the Canvas call will fail to function.

Sometimes the problem is solved by running the UserCreation.ps1 script again and it just works sometimes.

Has anyone else had this intermittency with this?

Attached is the error in question and the code that is causing it, and the line in the code that is failing.

Thank you

Sam

Labels (1)
0 Likes
1 Solution

@SamQuilter 

It looks like the error message from your script is saying that the password doesn't include symbols.  However, it doesn't look like you are setting a password when creating the user.  By any chance, do you have the new "Enhance password options" feature preview enabled with symbols required in the password?  We had enabled this setting and then received an SIS Import error when creating a user even though we don't include passwords as part of the user creation in our SIS Imports.  We had to disable the feature for now and are awaiting a resolution from Canvas Support on this issue.

For the error you received when in Canvas, it would be good to check the console log and/or network traffic using your browser's dev tools for any additional error messages.

View solution in original post