The Instructure Community will enter a read-only state on November 22, 2025 as we prepare to migrate to our new Community platform in early December. Read our blog post for more info about this change.
Dear Community,
I'm trying to create a user with Canvas rest api. Here's the json I'm posting:
And here's the response from Canvas:
Solved! Go to Solution.
Thanks @dtod for your reply!
I managed to figure out what was wrong. `Unique_id` needs to be in lowercase. Since I pass `Unique_Id` I guess Canvas gott `null` and went "well, this ID is way to short!"
So all is well, for now.
You can always do a test creation on your instance using: https://yourserver.instructure.com/doc/api/live#!/users.json/create_user_post_12 and you'll see the json used.
It's quite possible that if you do a create user in the UI, your browser will also capture the json used in your Developer Tools.
Thanks @dtod for your reply!
I managed to figure out what was wrong. `Unique_id` needs to be in lowercase. Since I pass `Unique_Id` I guess Canvas gott `null` and went "well, this ID is way to short!"
So all is well, for now.
Community helpTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.