[ARCHIVED] High Rate Of 504 Errors From API When Downloading Quiz Reports
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @ThomasDomas
I am sorry your post went so long without a reply! It seems you have stumped the Canvas Community on this one.
I personally do not have experience with this, but if you were to reach out to Canvas Support I am sure they could help you gain more insight to this issue.
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.