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

HTTP error code 500 #6

Open
ceving opened this issue Oct 9, 2024 · 0 comments
Open

HTTP error code 500 #6

ceving opened this issue Oct 9, 2024 · 0 comments

Comments

@ceving
Copy link

ceving commented Oct 9, 2024

It does not seem to work anymore:

$ npx gist-migrator@latest
Need to install the following packages:
  [email protected]
Ok to proceed? (y) 
npm WARN deprecated @gitbeaker/[email protected]: Please use its successor @gitbeaker/rest
✔ GitHub API URL … https://api.github.com
✔ GitLab API URL … https://gitlab.com
✔ GitHub access token: … ****************************************
✔ GitLab access token: … **************************
Fetching gist data...
/home/szi/.npm/_npx/810326af66136ad8/node_modules/@octokit/request/dist-node/index.js:146
    throw new import_request_error.RequestError(error.message, 500, {
          ^

RequestError [HttpError]: fetch failed
    at /home/szi/.npm/_npx/810326af66136ad8/node_modules/@octokit/request/dist-node/index.js:146:11
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Object.next (/home/szi/.npm/_npx/810326af66136ad8/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js:71:28)
    at async /home/szi/.npm/_npx/810326af66136ad8/node_modules/gist-migrator/migrate.js:106:20 {
  status: 500,
  request: {
    method: 'GET',
    url: 'https://api.github.com/gists',
    headers: {
      accept: 'application/vnd.github.v3+json',
      'user-agent': 'octokit-rest.js/19.0.3 octokit-core.js/4.2.4 Node.js/20.17.0 (linux; x64)',
      authorization: 'token [REDACTED]'
    },
    request: { hook: [Function: bound bound register] }
  }
}

Node.js v20.17.0
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

1 participant