davekats / canvas-student-data-export

Python script to download all of your student data from Canvas LMS
123 stars 33 forks source link

Course Files Download but no Modules Content #19

Closed KaylaFortson closed 6 months ago

KaylaFortson commented 1 year ago

image

Do you have suggestions for resolving this? Thank you so much for your time!

davekats commented 1 year ago

Hi Kayla,

Forbidden errors usually have to do with authorization. Can you view those submissions/modules when you're logged in to Canvas in the browser? If you can view them in the browser but they fail to download using this script, then we should keep investigating. If you want to skip a course that you no longer have permission to access, you can use the COURSES_TO_SKIP global variable.

KaylaFortson commented 1 year ago

Hello Dave! Thank you for your prompt response. I believe I have permission to view. I think the issue might go a little further than permission view because I have successfully exported all of my courses over the four years and not one single course was able to export the modules section, but course files were successful. Thank you again!

davekats commented 1 year ago

Interesting, ok! Are you able to share any more debugging details? Maybe you can add more print statements to help us figure out exactly what is returning this Forbidden message?

areisinger commented 1 year ago

i'm having the same issue all the modules which i can see when i log into canvas through a browser are forbidden. I just want the data from the module pages text i'm not really good at python but am willing to be guided

davekats commented 1 year ago

@areisinger @KaylaFortson I no longer have access to Canvas so it will be challenging for me to debug this issue. If you'd like you can schedule a call with me and we can debug the issue from your computer: https://usemotion.com/meet/davidk/hxmsj33

wdsouza0 commented 7 months ago

I'm having the same issue here. I can view and download all of my submissions from the canvas page itself, but it fails when done via the python script.

I also get this error occasionally: Skipping file download that gave the following error: {"status":"unauthorized","errors":[{"message":"user not authorized to perform that action"}]}

asellingson28 commented 7 months ago

My friend and I are experiencing the same issue. Any advice on how to proceed would be appreciated!

davekats commented 6 months ago

@wdsouza0 @ingensargens Sorry to hear the modules download isn't working. Unfortunately since I no longer have access to Canvas, I can't really reproduce this issue on my machine. If you want to schedule a call, I'd be happy to dig into this with you and debug it from your machine and hopefully we can solve the problem for everyone. You can schedule a call with me here: https://usemotion.com/meet/davidk/hxmsj33

tcgm commented 6 months ago

@wdsouza0 @ingensargens Sorry to hear the modules download isn't working. Unfortunately since I no longer have access to Canvas, I can't really reproduce this issue on my machine. If you want to schedule a call, I'd be happy to dig into this with you and debug it from your machine and hopefully we can solve the problem for everyone. You can schedule a call with me here: https://usemotion.com/meet/davidk/hxmsj33

Did this amount to a fix?

conch commented 6 months ago

I had this problem too but was able to fix it - I also had another error about not being able to find Google Chrome, which I'm guessing it uses to actually download the data. I was getting the error that was reported in https://github.com/davekats/canvas-student-data-export/issues/14 and fixed it as described there. After that, my modules folder (and all of the other folders have data in them now. I still get those "forbidden" and "unauthorized" errors, but I believe those are for content types that my instructors didn't use. Everything we did use was able to download.