-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Octokit.NotFoundException #2969
Comments
Are you actually using your GitHub password to authenticate? We removed support for that as of August 2021 IIRC. If so, you'll need to generate a Personal Access Token and use that to authenticate instead. |
Yes Can you tell me how to generate that token and what code I need.
|
This comment has been minimized.
This comment has been minimized.
can you please answer how to do this? |
The account that asked has been deleted, but for future reference, the docs they were looking for are here. |
What happened?
I try octokit for the first time using nuget package 13.0.1
This is my code
async public Task UpdateGithub()
{
var ghClient = new GitHubClient(new ProductHeaderValue("Octokit"));
ghClient.Credentials = new Credentials("login", "password");
}
I get 2 times a Octokit.NotFoundException.
Can somebody tell me what's wrong and why?
I replaced "login", "password", "owner", "repo.github.io" and "main" by the correct value for my github repo.
Jessica
Versions
Octokit nuget 13.0.1
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: