Unable to fetch a theme from Github private repo

7 Comments

  • Gorka Cardona-Lauridsen
    Comment actions Permalink

    Hi Toru

    Thank you for reporting this. We are looking into it and I will give an update as soon as possible.

    0
  • Toru Takahashi
    Comment actions Permalink

    @gorka

    Thank you.

    I guess I need to re-authenticate Github integration.

    But, there is no way to do it on our UI.

    Do you have a way to reset the integration?

    0
  • Gorka Cardona-Lauridsen
    Comment actions Permalink

    Hi Toru, Apologies for the about the long turnaround on your question. 

    You can reset by revoking the authorisation for the Guide GitHub app in GitHub by going to Settings > Applications > Authorized Oauth Apps.

    Did that solve it for you? 

    0
  • Toru Takahashi
    Comment actions Permalink

    I revoked it. And then, I tried again.

    But unfortunately I still see the error.

    > Failed to import themeThe repository you tried to access could not be found. Check that you have written the URL correctly and that you have rights to access the repository.

    0
  • Jake
    Comment actions Permalink

    @Toru, is your repo under a GitHub org? That org may require the OAuth application to be pre-approved before it will be able to read the repository list.

    https://help.github.com/en/articles/approving-oauth-apps-for-your-organization

    0
  • Elisabeth Wetchy
    Comment actions Permalink

    I've seen the "Failed to import theme" error when I tried to import a second theme from a repository owned by a different Github account than the one I imported a theme from for the first time. Maybe that's what's happening to you too?

    I had the Zendesk Guide integration authorized for both accounts. I was only able to resolve this by making the Github account I'd imported the first theme with a collaborator on the new repo, logging into that original account and then importing the theme.

    0
  • Augusto Silva
    Comment actions Permalink

    Hey @Elisabeth,

    Sorry for the delay here.

    We only support one Github account at a time. Once you have set up your first theme from an account, new themes will be attempted to be imported from the same account Github account.

    0

Please sign in to leave a comment.

Powered by Zendesk