Canvas Submissions API -- 401 error with one specific student on one specific assigment

MattEdmonds
Community Member

Using the submissions api (/api/v1/courses/:course_id/assignments/:assignment_id/submissions), I'm testing out making submissions to assignment as students. I'm using an admin account with masquerading permissions. Overall, it works fine, I can make submissions as any student to any assignment, EXCEPT one specific student to one specific assignment gets a 401 not authorized.

  • Student A gets an error making a submission to Assignment A
  • But that same student can successfully submit the same submission to Assignment B (which has identical settings and status as Assignment A)
  • Even weirder, Student B can successfully submit the same submission to Assignment A

I'm at a bit of a loss as to what could cause something like that. Thank you in advance for any help!

Labels (2)
0 Likes