Operations Against a GitHub Repository Are Failing

Symptoms

  • You cannot view Pull Requests in the IDE, but they can be opened in the GitHub web UI without any issues. The IDE will show the following:

    Can't load data from GitHub
    [Could not resolve to a Repository with the name <organization-name>/<repository-name>'.].
  • When you log in to a GitHub account and perform any git operation (push/pull/fetch) against a remote GitHub repository, you see the following:

    remote: Permission to <organization-name>/<repository-name>.git denied to <username>fatal: unable to access 'https://github.com/<organization-name>/<repository-name>.git /': The requested URL returned error: 403

Cause

The JetBrains IDE integration app has not been allowed to access the organization's repositories on GitHub.

Resolution

Please follow these guides from GitHub:

Workaround:

4 out of 19 found this helpful
1 comment

This is not working for me either as a regular GitHub login or token.  I have seen this in three tries across two different computers and two different JetBrains IDEs.  In all cases I see the a trialing ‘/’ after the GitHub URL.  See the image in this issue: https://github.com/saidfathalla/Science-knowledge-graph-ontologies/issues/9 

1

Please sign in to leave a comment.

Have more questions?

Submit a request