Skip to content

REST API GET /repos/{owner}/{repo}/pages 404s #24604

Discussion options

You must be logged in to vote

Hi @adriangb
A 404 Not Found from a REST API is often returned due to insufficient permissions (there are security reasons why its a 404, but the explanation is outside the scope of this question)

I was able GET with a Token scoped “repo” (Full control of private repositories) for one of my own Pages.
https://api.github.com/repos/octocat/hello-world/pages returns a 404 Not Found for me also.

Your “gh-pages-docs” is retrievable, when I tried

Replies: 14 comments 8 replies

Comment options

You must be logged in to vote
1 reply
@prem-mukherji
Comment options

Answer selected
Comment options

You must be logged in to vote
3 replies
@ReenigneArcher
Comment options

@monikacp
Comment options

@ReenigneArcher
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@dpuga1

This comment was marked as off-topic.

@guenan01
Comment options

Comment options

You must be logged in to vote
0 replies

This comment was marked as off-topic.

Comment options

You must be logged in to vote
1 reply
@Andrewdddobusiness
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

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