github / GitHub REST API
GitHub REST API: Resource Not Accessible by Integration
The token does not have the permissions the endpoint requires. The same applies to the personal access token variant of the message.
Visible symptoms
- Message: Resource not accessible by integration (or by personal access token).
Safe verification and recovery
Check required permissions
Look up the permissions the endpoint requires; the X-Accepted-GitHub-Permissions response header lists them.
Update the token or app permissions
Grant the missing permissions and retry.
Matching evidence and limitations
Reported error signals
Matches the documented error signal; it identifies the documented case, not the exact root cause of your request.
The local analyzer never executes suggested commands or treats a possible match as certainty.
Verified source list
Analyze a redacted excerpt locally All GitHub REST API errors