Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resource not accessible by personal access token #109

Open
makahmad opened this issue Oct 4, 2023 · 2 comments
Open

Resource not accessible by personal access token #109

makahmad opened this issue Oct 4, 2023 · 2 comments

Comments

@makahmad
Copy link

makahmad commented Oct 4, 2023

githubCsvTools version 3.2.0

and node v18.18.0

I'm trying to create issues for an organization. I made sure that "Fine-grained personal access tokens" Allow access is on and I'm the administrator too. however I'm still getting " Resource not accessible by personal access token" error

githubCsvTools aeps.csv
Token (get from https://github.com/settings/tokens): [ENTERED TOKEN HERE]
User or organization: aep-dev
Repository: aep.dev
[@octokit/plugin-throttling] `onAbuseLimit()` is deprecated and will be removed in a future release of `@octokit/plugin-throttling`, please use the `onSecondaryRateLimit` handler instead
Error
RequestError [HttpError]: Resource not accessible by personal access token
    at /usr/local/lib/node_modules/github-csv-tools/node_modules/@octokit/request/dist-node/index.js:122:21
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Job.doExecute (/usr/local/lib/node_modules/github-csv-tools/node_modules/bottleneck/light.js:405:18) {
  status: 403,
  response: {
    url: 'https://api.github.com/repos/aep-dev/aep.dev/import/issues',
    status: 403,
    headers: {

@nguyentoanit
Copy link

I got same issue here. Any suggestion?

@imnotquitejack
Copy link

The request's Accept header needs to have application/vnd.github.golden-comet-preview, which I don't see in the debug info.

Could that be the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants