In the last week or so I have started getting a “Failed to save curriculum” error and when I close the course and try to open it again I get this:
Unable to open repository. GraphqlResponseError: Request failed due to following response errors:
API rate limit already exceeded for user ID 15657148.. Would you like to open another repository?
I’m signed in to VSCode for Edu and to GitHub in the same browser profile and I only started getting this recently. It usually recovers eventually but why is this happening now? Has authentication changed, am I getting the unauthenticated limit of 60 commits per hour? Help!
OK I tried signing out of everything - GitHub, VSCode for Edu - and closed the tabs and signed in, first GitHub then VSC4E and the rate limit error went away.
Edit This happens when I come back to a VSCode for Edu authoring session after a long break. I’m signed in to VSC4E and I can still edit the curriculum but I get the “Failed to save curriculum” error and the API rate limit exceeded if I close and re-open VSC4E. I guess GitHub considers me unauthenticated because of a credential expired or something.
Workaround - if returning to VSC4E after a long break, sign out and back in.
Fix: Microsoft need to sign authors out of VSC4E if they have been idle for long enough for the authentication to GitHub to have timed out!
STILL HAPPENING - THIS IS A BIG ISSUE FOR ME
The workaround doesn’t always work, and I’ve tried everything. Still getting “Failed to save curriculum” and API rate limit errors often, and sometimes the only fix is to walk away and wait for the backend to catch up.
Is anyone here? Has this site gone dark now? Microsoft, are you there?
I’m writing a course for a MAJOR UK education company, and this is a BIG DEAL.
Hi @jacqueline.russell are you there?
After lots of investigation, I am hitting the 5,000 query rate limit, after just 20 minutes of work on my course.
This is because the course I have written now has eight units and 500 separate YAML files, therefore a commit burns through 800 requests.
Hitting “Save Activity” - even after a minor change - burns another 800 queries, and soon I exhaust the 5000 limit.
VSCode for Edu needs an exception to the GitHub GraphQL API limit! Please can Microsoft address this.
Hi Jacqueline!
Any news on this? I’ve discovered that saving a single change to Unit 9 in my new course causes over 5000 graphql requests which exceeds the limit, so I’ve basically hit a hard limit on course size.