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 21 found this helpful
2 comments

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 

2

I was encountering this error, and rather than it being an issue with Github premissions, it was an issue with the version of PyCharm I had installed.  https://github.com/advisories/GHSA-vfg9-hgrq-rjhq   Updating the IDE to the latest version immediately solved the permissions error for me.

 

 

 

 

0

Please sign in to leave a comment.

Have more questions?

Submit a request