GraphQL differences between github.com and a github enterprise version #24670
-
I’m new to GraphQL so I’ve used the Github GraphQL API explorer to create the following which lists all the repos I have access to and whether the repo has a README.md file. If the Blob returns Null then the file does not exist and if it returns a bytesize then the file exists.
This works fine in explorer but when I try it on our Enterprise version of Github I receive the following:
Our Enterprise Github is at 3.2.6 Note I tracked it down to the “… on Repository” section of the code. If it is removed then GraphQL runs fine. I assume the github.com version has fixed this issue. Would upgrading to Enterprise Github 3.3.1 fix my problem ? Thanks in advance, Gary |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hold the presses. This may not be a problem with Github vs Github Enterprise . It seems I have a corrupt repository on our GitHub Enterrprise server. When I attempt to go to the repo I get a “500” server error. Which I think is causing my “Something went wrong” error. I changed the “start:100” to “start:10” and it retrieved 20 repos before failing. I’m guessing the corrupt repo is in the list 30 -39. Will close this topic. |
Beta Was this translation helpful? Give feedback.
Hold the presses. This may not be a problem with Github vs Github Enterprise .
It seems I have a corrupt repository on our GitHub Enterrprise server. When I attempt to go to the repo I get a “500” server error. Which I think is causing my “Something went wrong” error.
I changed the “start:100” to “start:10” and it retrieved 20 repos before failing. I’m guessing the corrupt repo is in the list 30 -39.
Will close this topic.