Resource not accessible by integration
See original GitHub issueI have a stand alone deployment for Github Enterprise. I tested the bot for my account and also under organization which i am a maintainer in it. The bot worked as expected for public repos but for private repos i got this error
13:22:45.823Z ERROR event: {"message":"Resource not accessible by integration","documentation_url":"https://developer.github.com/enterprise/2.13/v3/repos/contents/#get-contents"} (id=77827960-9ca0-11e8-8fc7-3a145c78ba63)
HttpError: {"message":"Resource not accessible by integration","documentation_url":"https://developer.github.com/enterprise/2.13/v3/repos/contents/#get-contents"}
at response.text.then.message (/request-info/node_modules/@octokit/rest/lib/request/request.js:78:19)
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
--
event: {
"id": "77827960-9ca0-11e8-8fc7-3a145c78ba63",
"event": "pull_request.opened",
"repository": "xxxxxxxxxxxxxx/yyyyy",
"installation": 9
}
13:15:45.518Z ERROR event: {"message":"Resource not accessible by integration","documentation_url":"https://developer.github.com/enterprise/2.13/v3/repos/contents/#get-contents"} (id=7d350540-9c9f-11e8-8a1a-488875117f96)
HttpError: {"message":"Resource not accessible by integration","documentation_url":"https://developer.github.com/enterprise/2.13/v3/repos/contents/#get-contents"}
at response.text.then.message (/request-info/node_modules/@octokit/rest/lib/request/request.js:78:19)
at <anonymous>
at process._tickDomainCallback (internal/process/next_tick.js:228:7)
--
event: {
"id": "7d350540-9c9f-11e8-8a1a-488875117f96",
"event": "issues.opened",
"repository": "xxxxxxxxxxxxxx/yyyyy",
"installation": 9
}
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
"Resource not accessible by integration" · Issue #10 - GitHub
I'm confused. This is an action configured in the main repo for a PR in the main repo? All reactions.
Read more >"Resource not accessible by integration" on github post /repos ...
I was leaning towards GITHUB_TOKEN since it is a temp token. Also, one less step (no need to create a PAT with relevant...
Read more >Resource not accessible by integration - GoReleaser
Integrations that may cause this: Homebrew Tap; Krew Plugins. Fixing it¶. You have basically two options: 1. Use a Personal Access Token (PAT)...
Read more >GitHub Actions - Resource not accessible by integration
RequestError [HttpError]: Resource not accessible by integration at /__w/_actions/actions/github-script/v3.1.0/dist/index.js:2137:23 at ...
Read more >Token permissions for GitHub Actions - Damir's Corner
Resource not accessible by integration. Although the message is not entirely clear, I quickly figured out that the problem was insufficient ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@hiimbex ya, I need to change the name of the file. Thanks for your help.
Oh if you wanna change the name of the file? I mean you could just rename the actual file, but yea that would work.