-
Notifications
You must be signed in to change notification settings - Fork 7
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
Successive requests return RequestError [HttpError] [...] bad_verification_code #130
Comments
I'll try to reproduce the problem. For the time being, given that you are building a request handler, you might be interested in https://github.com/octokit/app.js or https://github.com/octokit/oauth-app.js (if you are only interested in the OAuth routes), these SDKs will make things a little easier for you |
Thank you for your reply! It worked using https://github.com/octokit/oauth-app.js (using I hope that my issue might nevertheless be useful! Thanks again! |
This comment was marked as spam.
This comment was marked as spam.
Can confirm the errant behavior described in this issue using the |
I also ran into this problem based on the instructions found here https://github.com/octokit/auth-oauth-user.js/#usage-with-octokit this is honestly one of the most headache-inducing documentation scenarios I've encountered. there's so many ways to use octokit that none of the documentation is consistent and the internals are super obfuscated with verbose typescript |
Hello everyone!
I am trying to run successive requests with one octokit instance and on the second request I'm getting this error:
I'm using Next.js, passing the code from the frontend to an API route. Here's the code of the API route:
I am new to octokit, so I am sorry if I'm missing something that should be clear.
Thank you very much for your work and for your attention!
The text was updated successfully, but these errors were encountered: