403 on "Get a Single Issue" Endpoint


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?


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?


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