Bulk Update Gradebook Column Issue

Jump to solution
SurajPaigude
Community Member

If we make the PUT API call(https://XX.instructure.com/api/v1/courses/891/custom_gradebook_column_data) with the below request

{
    "column_data": [
       
         {
            "column_id""214",
            "user_id"506,
            "content""PRESENT"
        }
    ]
}
 
We are getting the below exception: 403 Forbidden: "{"status":"unauthorized","errors":[{"message":"user not authorized to perform that action"}]}"]
If we change the role of the user(506) from teacher to Student then it will work. Any Inputs here.
 
Note: I have created the token in the User profile.
 

 

Labels (1)
0 Likes
1 Solution

@SurajPaigude 

Users with "Teacher" role in a course will not show up in the Gradebook, so the custom column doesn't exist, that's why you are getting that error message.

View solution in original post