question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Resource not accessible by integration

See original GitHub issue

I 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:closed
  • Created 5 years ago
  • Comments:10 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
elsayed-atefcommented, Aug 10, 2018

@hiimbex ya, I need to change the name of the file. Thanks for your help.

0reactions
hiimbexcommented, Aug 10, 2018

Oh if you wanna change the name of the file? I mean you could just rename the actual file, but yea that would work.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found