Skip to content
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

Please help with github.GithubException.UnknownObjectException: 404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest/reference/repos#get-a-repository"} #18

Closed
zendude213 opened this issue Mar 30, 2021 · 6 comments

Comments

@zendude213
Copy link

Hi there..

Can't seem to run the Lupin bot... I keep getting a github.GithubException.UnknownObjectException: 404 {"message": "Not Found", "documentation_url": "https://docs.github.com/rest/reference/repos#get-a-repository"}
Error

@akhater
Copy link
Owner

akhater commented Mar 30, 2021

Hi, this error is from the GitHub API, more often than not it is because your config.ini file settings are wrong or missing

can you please double check you config.ini API Key - Github repo etc...

thanks

@zendude213
Copy link
Author

thanks. below are the github fields in the config file
I'm pretty sure I got most of the inputs for the fields below correct but not sure about these: "GithubUser" (does this equate to user id for login? i have zendude213 here), "GithubRepo" (the name of my repo in github is logseq... is that all I need here? by default i have Logseq here) and "GithubAuthor" (how is this different from github user? i have zenduded213 here). Any chance you can provide a sample config with fields filled in with dummy data?

[GitHub]
GitHubToken =
GitHubBranch = master
; Git hub username
GitHubUser =
; LogSeq GitHub repo
GitHubRepo =

; Name and email used to push
GitHubAuthor =
GitHubEmail =
; Frequency, in minutes, you want to Lupin to pull new data from Github
GitHubUpdateFrequency = 720

@digitalknk
Copy link
Contributor

@zendude213 here is a portion of mine.

GitHubBranch = main
GitHubUser = digitalknk
GitHubRepo = knowNothing
GitHubAuthor = digitalknk
GitHubEmail = digitalknk@users.noreply.github.com

@akhater
Copy link
Owner

akhater commented Apr 2, 2021

[GitHub]
GitHubToken =
GitHubBranch = master
; Git hub username
GitHubUser =
; LogSeq GitHub repo
GitHubRepo =

; Name and email used to push
GitHubAuthor =
GitHubEmail =
; Frequency, in minutes, you want to Lupin to pull new data from Github
GitHubUpdateFrequency = 720

[GitHub]
GitHubToken = YourGeneratedGitHubToken
GitHubBranch = master or main depending on the name of your repo branch
; Git hub username
GitHubUser = zendude213
; LogSeq GitHub repo
GitHubRepo = YourLogSeqRepoName

; Name and email used to push
GitHubAuthor = Your Name
GitHubEmail = Your Email Address
; Frequency, in minutes, you want to Lupin to pull new data from Github
GitHubUpdateFrequency = 720

@rajeefmk
Copy link

I ran into the same issue and the culprit in my case was typo in Github repo name

@zendude213
Copy link
Author

Got it to work at last!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants