Line 362 #TODO #5

Closed
opened 2021-05-17 23:11:10 -06:00 by ZechenHuang · 1 comment
ZechenHuang commented 2021-05-17 23:11:10 -06:00 (Migrated from github.com)

Hi there, this is Leon.
I tried to use your script and it is a nice one. I had some issue shows that "{'message': 'user not authorized to perform that action'}," and I find out it is caused by Line 361: submissions = assignment.get_submissions();
After read the documentation, this function is used by instructors instead of students.
Link: https://canvasapi.readthedocs.io/en/stable/examples.html#get-multiple-assignments
Good lcuk!

Hi there, this is Leon. I tried to use your script and it is a nice one. I had some issue shows that "{'message': 'user not authorized to perform that action'}," and I find out it is caused by Line 361: submissions = assignment.get_submissions(); After read the documentation, this function is used by instructors instead of students. Link: https://canvasapi.readthedocs.io/en/stable/examples.html#get-multiple-assignments Good lcuk!
ZechenHuang commented 2021-05-17 23:17:44 -06:00 (Migrated from github.com)

Oh wait! I saw your other comment. My bad. Have a nice day!

Oh wait! I saw your other comment. My bad. Have a nice day!
Sign in to join this conversation.
No description provided.