I created a Github account and within that project I have created a repository. I copied the link to that repository and used it in the URL field that presents itself when creating a code source link to Github. Unfortunately I get an error message that says I don’t have access permission to that repository, even though the signing step into Github is successful. Any idea?
Just to avoid confusion, that error comes up when I add a source to Github from Studio.
Hello @vincent.schoenfeld - Did you check you have write access to that repository? I believe you can commit your code only when you have enough access to that repository. Ref below doc
Did you also check this documentation? Managing Projects with GIT
What makes no sense is that it’s my own repository and I try and access it from UIPath using my own credentials. And the repository is public. So there really is no reason why it would not allow me access to my own public repository! I even tried adding myself as a collaborator, but it doesn’t let me select my own name, for the obvious reason that I can’t be my own collaborator. Totally baffled. Out of interest, this is the error message:
GitHub: LibGit2Sharp.LibGit2SharpException: request failed with status code: 403
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
at LibGit2Sharp.Core.Proxy.git_remote_push(RemoteHandle remote, IEnumerable
1 refSpecs, GitPushOptions opts) at LibGit2Sharp.Network.Push(Remote remote, IEnumerable1 pushRefSpecs, PushOptions pushOptions)
at LibGit2Sharp.Network.Push(Remote remote, String pushRefSpec, PushOptions pushOptions)
at UiPath.Studio.Plugin.Git.Desktop.Services.UiAuthenticationSession.Execute[T](ExecuteArgs`1 args), HResult -2146233088
Thats not your credentials.
Use the ones you use to log into Github.