Canvas and Mastery are experiencing issues due to an ongoing AWS incident. Follow the status at AWS Health Dashboard and Instructure Status Page
Found this content helpful? Log in or sign up to leave a like!
There are some entities for which we are not able to either update or create data through POSTMAN.
The list of such entities is:
Entity | API Endpoint | Error In Postman |
Course | /api/v1/accounts/:account_id/courses | After creating data, getting 200 OK, but the created data is not visible in the list of courses. |
Course | /api/v1/courses/:id | Getting error: 422 unprocessable_entity while updating a course. |
Enrollments | /api/v1/courses/:course_id/enrollments | Getting error: 403 Forbidden - user not authorized to perform that action while enrolling an user. |
Users | api/v1/accounts/:account_id/users | Getting error: 422 unprocessable_entity while creating new user. |
Users | /api/v1/users/:id | Getting updated, but after update not getting retrieved i.e. not showing in list(read) |
Group Categories | /api/v1/courses/:course_id/group_categories | Getting error: unprocessable_entity while creating Group Category |
Group Categories | /api/v1/group_categories/:group_category_id | Not updated, getting error: unprocessable_entity |
Group Memberships | /api/v1/groups/:group_id/memberships/:membership_id | Not getting updated. Error: unprocessable_entity |
Group Memberships | /api/v1/groups/:group_id/users/:user_id | Not getting updated. Error: unprocessable_entity |
Quiz Questions | api/v1/courses/:course_id/quizzes/:quiz_id/questions | Not getting created. Error: unprocessable_entity |
Quiz Questions | api/v1/courses/:course_id/quizzes/:quiz_id/questions/:id | Not getting updated, error: unprocessable_entity |
Quiz Submissions | api/v1/courses/:course_id/quizzes/:quiz_id/submissions | Not getting created. Error: unprocessable_entity |
Quiz Submissions | api/v1/courses/:course_id/quizzes/:quiz_id/submissions/:id | Getting error of unprocessable entity while updating student question scores and comments. |
Quizzes | api/v1/courses/:course_id/quizzes | Not getting created, error: unprocessable_entity |
Quizzes | api/v1/courses/:course_id/quizzes/:id | Not getting updated, error: unprocessable_entity |
Submissions | api/v1/courses/:course_id/assignments/:assignment_id/submissions | While submitting an assignment getting error: The specified resource does not exist |
Discussion Topics | /api/v1/courses/:course_id/discussion_topics | Not getting created, Error: unprocessable_entity |
Discussion Topics | /api/v1/courses/:course_id/discussion_topics/:topic_id | Not getting updated, error: The specified resource does not exist |
Discussion Topics | /api/v1/groups/:group_id/discussion_topics/:topic_id | Not getting updated, error: unprocessable_entity |
Discussion Topics | /api/v1/courses/:course_id/discussion_topics/:topic_id/entries/:id | Not getting updated the entry , error: unprocessable_entity |
Discussion Topics | /api/v1/groups/:group_id/discussion_topics/:topic_id/entries/:id | Not getting updated the entry , error: unprocessable_entity |
Roles | api/v1/accounts/:account_id/roles | Not getting created, error:unprocessable_entity |
Sections | /api/v1/sections/:id | Section not updated error:unprocessable_entity |
We are ensuring to provide the possible required parameters while requesting through postman.
So, can we get some detailed reference to resolve this problem?
It's going to be tough for anyone to figure out what's going wrong without some more details about the data you're sending. Can you pick one one or two of these requests (maybe the create / update course requests) and share the full details?
For Course entity- while updating through postman getting "422 unprocessable_entity" error. Attached the screenshots for more reference to know about request and response.
Note: Max attachments allowed is 5, so sending one more screenshot related to this problem in the separate reply.
These screenshots aren't particularly helpful; it's difficult or impossible to really see the full details of your PUT request. Postman can generate code snippets (in various languages - python or js would probably be most useful here) that would be more easily shared in this forum.
In any case -- if I were you I would start by paring back your request as much as possible. Start by just trying to update one field. If that works, keep adding fields until you find the one that's causing the problem. If you can't get a single field to update, there's probably something wrong with your auth token.
Are you an admin on the domain you are using in your requests? If you are attempting to do this on the canvas.instructure.com domain and you aren't an admin and/or teacher in the course, this is likely why you are receiving these errors.
Also, what are you trying to accomplish with all of these requests?
@JamesSekcienski , thank you for your reply. Yes, I am having the admin access on the domain that is used in making the request. But still facing problem while updating this course and this problem is with some other entities(resources) also. Please provide any possible solution that can work here. Waiting for your reply!
To 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