Issue Modifying "use_rubric_for_grading" Parameter
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi everyone,
I'm trying to update the use_rubric_for_grading
parameter to
using the Canvas API, but my changes don't seem to take effect.true
Does anyone know why this might be happening? Could it be a bug on this parameter, or something else I might be overlooking?
I appreciate any guidance or suggestions you can provide.
Thanks in advance!
I,m using this endpoint
PUT /api/v1/courses/:course_id/assignments/:id
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your association type is Course instead of Assignment. It doesn't make sense, and Canvas doesn't allow you, to enable use_for_grading for a course. The option for use_for_grading cannot be turned on from the rubrics page, only for individual assignments.
You need to associate the rubric with an assignment and then look for association_type="Assignment" and association_id = that_assignment_id.
Here's what my association property from the get a single rubric endpoint looks like.
{
"associations": [
{
"id": 7202340,
"rubric_id": 3529130,
"association_id": 28442386,
"association_type": "Assignment",
"use_for_grading": true,
"summary_data": null,
"purpose": "grading",
"hide_score_total": false,
"hide_points": false,
"hide_outcome_results": false
}
]
}