Hi, this is my first post. I work in analytics for for my institution. I built a program that goes through canvas and downloads the Student Analysis reports for each quiz in each course. However, I seem to be getting an unusually high number of 504 timeout returns (about 70%) with my API calls. The API call that seems to be causing this is
POST /api/v1/courses/:course_id/quizzes/:quiz_id/reports?quiz_report[report_type]=student_analysis&quiz_report[includes_all_versions]=1
If the report generation takes too long (seems to be about 10 seconds but I haven't programmatically timed it), generation stops and a 504 error is returned. Is there any way I can reduce the rate of 504 errors?
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.