The GitHub app returns the following message when using the /github subscribe [repository name] command _"Either the app isn't installed on your repository or the repository does not exist. Install it to proceed."_ despite supplying a valid repo URL and having already installed the GitHub app on the Slack Workspace.
This message is returned when attempting to subscribe to a repo in a channel you have not previously granted access to either at during the initial install flow or via the GitHub Settings page here - https://slack.com/apps/A8GBNUWU8-github
Steps to reproduce
/github and Slackbot will post an Add to this conversation button./github subscribe [repository name] command.404 page.@codebymark I can't seem to reproduce this. Would you mind writing into support at https://github.com/contact and include details such as the URL of the repository, and the URL of the 404 page?
Thanks @wilhelmklopp I've sent thought the details and some screenshots via the contact form. Cheers.
Resolved via ticket. Thanks.
Hey @codebymark, mind sharing what worked or you? Facing this same issue.
Hi @siddharthgopi,
I think my GitHub auth was stale. I cleared the cache, reopened the browser and once I signed in again everything started working as expected. I hope this helps.
@wilhelmklopp I have the same issue
/github subscribe REDACTED/REDACTED

Clicking the link goes to:
https://github.com/marketplace/slack-github/installations/new

@esetnik I am currently experience the same issue as you with the same error message.
Exact same issue
Same issue here. If anyone has solved this, please share exact steps.
One thing to note in my case is that I am attempting to subscribe to a private repo, if it makes a difference.
Has the same problem, turns out the link was wrong.
Visiting https://github.com/apps/slack/installations/new solved it for me.
Stumbled upon the link here: https://github.com/portainer/portainer/issues/1955
@wilhelmklopp can we get this issue reopened?
@joanrodriguez That worked for me. The invalid url seems to be coming from https://github.com/integrations/slack/blob/0cfaabaa04fe5db6a4d8c33d5d71ad1760a2f32a/lib/github/index.js#L25
Confirming this just happened to me and using the alternate link provided by @joanrodriguez provided a work around.
The wrong URL was due to a change on github.com. It is fixed now so you should always be redirected to the right URL: https://github.com/apps/slack/installations/new
https://github.com/integrations/slack/issues/559#issuecomment-424722613
This saved my life. @joanrodriguez You are a lifesaver :+1 :)
I am slack org owner and installed this app.
When I try to subscribe to /github subscribe directus/directus an error occures as provided above.
_Either the app isn't installed on your repository or the repository does not exist. Install it to proceed._
When I try to subscribe to /github subscribe shopware/platform it does work though.
Both are public repositories not owned by me or my org.
I can't seem to find the issue.
Can anybody confirm this?
I have the same issue as @klickparkdominik
Was able to subscribe to spring-projects but unable to spring-projects/spring-boot
I was able to subscribe to elastic/elasticsearch
But I can't subscribe to stripe/stripe-java
It seems that the integration works only on some public repos. I have the message:
Either the app isn't installed on your repository or the repository does not exist. Install it to proceed.
Note: You need to be an organization owner to install the app (or ask one to install it for you).
But when I enter the link, the app is installed.
Having the exact same issue- trying to subscribe to a private repo owned by an organization. I've installed Slack in GitHub and GitHub in Slack.
Most helpful comment
Has the same problem, turns out the link was wrong.
Visiting https://github.com/apps/slack/installations/new solved it for me.
Stumbled upon the link here: https://github.com/portainer/portainer/issues/1955