Replies: 1 comment 3 replies
-
The 404 usually means that the authentication is incorrect. I tried to reproduce the problem you mentioned but it works as expected: https://runkit.com/gr2m/octokit-rest.js-1886/1.0.0 You say the problem would be for a repository in an organization though? Did you create a personal access token at https://github.com/settings/tokens/new or did you create the token using an OAuth/GitHub App? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I using octokit to perform action.
Steps to reproduce:
I am making a call using octo
const response = await octokit.request("GET /repos/{owner}/{repo}/commits", { owner: 'izrake', repo: 'argo-react' });
argo-api is my repo and also it is an open source.
After making this call i am getting an error
But when i am making a call to the repos which are directly reside to user level then i am successfully able to retrieve the data.
Is there any other way of getting the commits of repos which belongs to an org using octo ?
Note: I have configured proper scopes for access_token
Any help will be highly appreciated. If any additional info is required please let me know i will be happy to share.
Beta Was this translation helpful? Give feedback.
All reactions