403 on "Get a Single Issue" Endpoint


#1

I am getting a 403 on the “get a single issue” endpoint (https://developer.github.com/v3/issues/#get-a-single-issue), making the request as a Github App installation token.

GET https://api.github.com/repos/nodable/auth-service/issues/161951115: 403 - Resource not accessible by integration // See: https://developer.github.com/v3/issues/#get-a-single-issue

Other endpoints (including LISTING issues work fine). Is there a reason why the “get a single issue” endpoint doesn’t work for Github Apps?


#2

I was able to figure this out – the issue was that I was requesting using the issue ID instead of issue number. The 403 threw me off. Maybe it’d make more sense to return a 404 in this case?


#3

It does, I’ve filed an issue internally to look at this.