-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
Hello, I am using pygithub in a script to clone repos, after 60 call I get the error saying I have exceeded my limit
github.GithubException.RateLimitExceededException: 403 {"message": "API rate limit exceeded for user ID 45185179.", "documentation_url": "https://docs.github.com/rest/overview/resources-in-the-rest-api#rate-limiting"}
but if I curl my api I can see that I still have x-ratelimit-limit: 5000
x-ratelimit-remaining: 4999
my script is supposed to be properly setup with my token.
ACCESS_TOKEN = open("token.txt","r").read() g = Github(ACCESS_TOKEN)
I am really at loss, what should I do to fix this issue?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels