Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

grade_submission 404 error #67

Open
bshor opened this issue Feb 23, 2024 · 2 comments
Open

grade_submission 404 error #67

bshor opened this issue Feb 23, 2024 · 2 comments

Comments

@bshor
Copy link

bshor commented Feb 23, 2024

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 bshor changed the title grade_submission error grade_submission 404 error Feb 23, 2024
@bshor
Copy link
Author

bshor commented Aug 28, 2024

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
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants