Closed MatthiasPortzel closed 6 months ago
I guess to elaborate: even before making this change I had no problem pulling modules. So perhaps there's an unrelated issue some people are running into in #19. However, this PR resolves the "Failed to retrieve submissions for this assignment Forbidden" messages and allows pulling submissions.
Thank you for your contribution!!
Would close #19. As can be seen in the log on that issue, getting all submissions for a course now returns
Forbidden
instead ofUnauthorized
.The
canvasapi
wrapper also updated at some point to makeattachment
aFile
instead of a dictionary.With these changes I can pull submissions again.
I still get the
Skipping file download that gave the following error: {"status":"unauthorized","errors":[{"message":"user not authorized to perform that action"}]}
message (mentioned in the issue) but that seems unrelated.