daranzolin / rcanvas

R Client for Canvas LMS API
Other
90 stars 43 forks source link

grade_submission 404 error #67

Open bshor opened 6 months ago

bshor commented 6 months ago

I've been successfully using rcanvas to download grades. But I am running into a problem when I try to submit a grade using grade_submission.

Here's an example.

grade_submission(course_id = 8652, assignment_id = 17499179, user_id = 1888, grade = 70.7)
Error in canvas_query(url, args, "PUT") : Not Found (HTTP 404).

I'm not sure what that error might mean. Any ideas?

bshor commented 1 week ago

I've tried grade_submission again this semester, and I get a different error this time. Perhaps this is because I created a test assignment specifically to test submission.

grade_submission(course_id = 16332, assignment_id = 417033, user_id = 38199, grade = 80)
Error in canvas_query(url, args, "PUT") : Forbidden (HTTP 403).

I can't figure out why this is forbidden. Downloading grades and students works fine. Any thoughts?

pachadotdev commented 1 week ago

I've tried grade_submission again this semester, and I get a different error this time. Perhaps this is because I created a test assignment specifically to test submission.

grade_submission(course_id = 16332, assignment_id = 417033, user_id = 38199, grade = 80)
Error in canvas_query(url, args, "PUT") : Forbidden (HTTP 403).

I can't figure out why this is forbidden. Downloading grades and students works fine. Any thoughts?

thanks! I need to try it again on my end