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

Randomly getting “Error: token doesn’t have access to any organization" #35

Closed
shay-legit opened this issue Nov 4, 2022 · 3 comments
Labels
bug Something isn't working

Comments

@shay-legit
Copy link
Contributor

TL;DR

Randomly getting “Error: token doesn’t have access to any organization" - re-attempt of using the same token a few seconds later works just fine.

Expected behavior

Either get results, or the actual error that happened.

Observed behavior

The error returned is masked as “Error: token doesn’t have access to any organization" but the actual error returned from github is likely different.

Version

v0.1.5

On which operating system are you using legitify?

Mac OS

Relevant log output

No response

Additional information

Suspecting that this “Error: token doesn’t have access to any organization" error returns when a rate limit error is returned from github.

@shay-legit shay-legit added the bug Something isn't working label Nov 4, 2022
@noamd-legit
Copy link
Contributor

@shay-legit Is this still relevant? Could you provide more information?

@shay-legit
Copy link
Contributor Author

I received this error of "token doesn’t have access to any organization" whenever my GH PAT reached the 5000/5000 rate limit. can u see how it is possible?
If not, I am OK with closing it, if it happens again I will create a new issue.

@noamd-legit
Copy link
Contributor

Ok so basically this is the same as #110. We'll discuss it there.
I am closing this issue for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants