Skip to content

“Resource not accessible by integration” when requesting GitHub Pages build via REST API #24701

“Resource not accessible by integration” when requesting GitHub Pages build via REST API #24701
Oct 23, 2018 · 4 answers
You must be logged in to vote

Hi @btouellette,

Thank you for being here! It seems like you’re authenticating using a GitHub App installation access token. It isn’t currently possible to request page builds as a GitHub App installation (server-to-server request).

While this endpoint is enabled for GitHub Apps, you’ll need to make a user-to-server request to request a page build:

https://developer.github.com/apps/building-github-apps/identifying-and-authorizing-users-for-github-apps/#user-to-server-requests

Could you give that a try and let us know if that helps?

Best,

Your GitHub Community Team

Replies: 4 suggested answers

You must be logged in to vote
0 replies
Answer selected
You must be logged in to vote
0 replies
You must be logged in to vote
0 replies
You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants