canvas-lms
canvas-lms copied to clipboard
Progress for New Quizzes Reports Stuck at "Running"
Whenever I try to generate a report for a New Quiz via cURL, I get back a progress object and when I query the Progress object, it is never "complete." It is always "running." I've been waiting on a student report for over an hour.
In the UI, this takes 5 seconds.
This is the call that I am making in cURL:
curl 'https://bruinlearn.ucla.edu/api/quiz/v1/courses/my_course/quizzes/my_new_quiz/reports'
-X POST
-H 'Authorization: Bearer 'My Token'
-F 'quiz_report[report_type]=student_analysis'
-F 'quiz_report[format]=csv'
Am I doing something wrong or is this a bug?
(I am trying to write a script that generates the report, downloads it when it's ready, and then uploads it to Google Sheets)