I’m working with Canvas Data 2 API and am having trouble accessing S3 files programmatically. While I can manually open the provided URLs in my browser, I receive a 403 Forbidden error when trying to access them using Python.
I’ve been provided with an S3 link to a file, but I can’t retrieve the file using Python. Here is a typical URL I’m working with:
https://data-access-platform-output-prod-iad.s3.amazonaws.com/output/...
When trying to access this URL using Python with requests or urllib, I consistently receive a 403 Forbidden error. However, I can access this URL successfully in the Brave browser.
Attempts:
Can anyone provide guidance on how to access these files programmatically? Are there specific headers, authentication methods, or additional steps required for programmatic access that might not be needed for manual access?
Join this group to share your tips, insights, and reactions with other members.
(Spoiler)
It'd be nice to be able to limit auto-feedback to section so that when working on feedback in class, your feedback is given by actual classmates rather than students in different sections. This would make it so that the students could ask their classmates questions about the feedback in person!
I think it would be nice to have the option to make the WYSIWYG editor the full height (instead of a fixed position when you open the assignment editor). Then just have the editor tools stick to the top of the page as you scroll through the assignment. This would make is so that you don't have a tiny view to work with that…
Screen readers seem to read out the LaTex and not the equation.
Whenever possible, I prefer to have my students take in-class quizzes and tests on their laptops. But to make sure that they do it in the classroom, I've always put a password on the assessment and then given them the password. That way they can't take it somewhere else on their own (or somewhere else, not on their own).…