Receiving an error "Resource not accessible by integration" #2179
Unanswered
blackgirlbytes
asked this question in
Q&A
Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm developing a severrless probot application and using octokit to make API requests. Ran into a problem with one of my API calls where I'm now receiving an error that says "Resource not accessible by integration". This is the full error:
Here's what my code looks like
The error is occurring in the function
checkForEmployees()
on this API call await octokit.request('GET /orgs/{org}/teams/{team_slug}/memberships/{username}'.This was previously working, so I'm wondering if this is an issue with how I'm authenticating the GitHub App.
Any help would be appreciated!!! Thank you.
Beta Was this translation helpful? Give feedback.
All reactions