Shopify theme editor unable to see Github repos

Short description of issue

Shopify theme editor is reporting that its unable to connect to the repo

Reproduction steps

Open admin site
Go to Online Stores.
Big red box saying it cannot connect to github repo

Additional info

Are we safe to assume its something to do with the GH API issues being reported on https://www.githubstatus.com/ ?

What type of topic is this

Feature request

Upload screenshot(s) of issue


I’m hoping its something to do with this issue in GitHub.

Hey @dadof3bytes - thanks for flagging this.

It looks like there was an issue affecting GitHub’s API around the time you posted, and we believe the message you saw was related. GitHub has since reported that issue as resolved.

If you’re still seeing the message after refreshing Online Store > Themes, could you share the x-request-id response header from the ThemeIndex GraphQL request? That should let us take a closer look on our end.

Hope this helps!

Thanks @wes-dev-shopify.
Still seeing the same issue. The x-request-id is f807557c-5c07-430b-ad1a-81b19a4f72f4-1784609219

I’ve tried re-approving the repos with the Shopify Github app but it did nothing.

Please let me know if there is anything else I can do.

Thanks,
Lee

Hey @dadof3bytes - thanks for sending the request ID.

I reviewed the related theme sync activity and it doesn’t actually look like this is connected to the resolved GitHub API incident, my apologies. The Shopify GitHub App still can’t access the affected repository, with failures beginning July 20 and continuing into July 21.

Since it sounds like you’ve already re-approved the app, the next thing to check is the repository selection for the GitHub account or organization that owns the repo. An owner or admin should open Settings > GitHub Apps > Shopify > Configure and confirm that the affected repository is explicitly selected, or grant the app access to all repositories. This access requirement is covered here: Shopify GitHub integration for themes

Once access is restored, duplicate or download the affected theme first if it might contain unsynced Shopify-side edits. Then go to Online Store > Themes, open the theme’s ⋯ menu, and select Reset to last commit to trigger a fresh sync: Shopify GitHub integration for themes

If the reset still fails after confirming the repository access, you might want to try GitHub Support as the next troubleshooting step, since the remaining issue appears to be with the app installation’s access to the repository from what I can see from our end here.

Hope this helps!