I have a CSV export with columns for Google Classroom course aliases (SectionID) and student usernames (StudentEmail). I am running this command:
gam courses csvkmd export.csv keyfield SectionID datafield StudentEmail sync students addonly csvdata StudentEmail
This is a very large export, so it takes quite a while to complete (I usually start it at the end of the day and let it run into the evening). It seemed to work fine for a while, but over the last week or two, I've noticed that it stops about 80% of the way through (based on the "(XXXX/XXXX)" at the end of each line of output) and throws this error:
ERROR: 503: serviceNotAvailable - The service is currently unavailable.
The result is that several courses aren't getting new students added to them, which is causing some issues. Sometimes it gets a little further than other times, but it rarely seems to get all the way through. Any ideas why this would be happening?