Create a User API call only sometimes works
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.