gh-classroom icon indicating copy to clipboard operation
gh-classroom copied to clipboard

GH CLI for large Classroom Assignment 500 Server Error

Open timothy-wiley opened this issue 8 months ago • 23 comments

Hello,

I have previously raised a ticket with GitHub support: Ticket 2847591 who suggested I raise an issue here.

We are encountering an issue trying to use the GH Classroom CLI when trying to download repositories for a very large classroom and assignment. This issue appears similar to the following previous issues:

  • https://github.com/orgs/community/discussions/67264
  • https://github.com/github/gh-classroom/issues/38

The classroom we have has 1000 listed students, with 420 teams, and 335 currently "submitted" assignments. When attempting to access the repositories on the CLI tool gh classroom clone student-repos -a --page 1 --per-page 1 the resulting error occurs: HTTP 500: Server Error (https://api.github.com/assignments/no/accepted_assignments?page=2&per_page=1) Changing the page number and per-page value does not resolve the error.

We are able to access other smaller classrooms, so this appears to be an issue on the larger classroom.

For reference I am using the following versions:

  • gh version 2.50.0 (2024-05-30)
  • gh classroom github/gh-classroom v0.1.13

Assistance in this matter would be greatly appreciated.

timothy-wiley avatar Jun 19 '24 23:06 timothy-wiley