Hack-Day icon indicating copy to clipboard operation
Hack-Day copied to clipboard

API limit exceeded issue for repo cards(topics and languages fetch)

Open arc9693 opened this issue 5 years ago • 4 comments

Similar issue: #214

Relevant file: https://github.com/lugnitdgp/Hack-Day/blob/d5804721a09104511be60e50992111b1054ec12d/assets/js/repoAdd.js

arc9693 avatar Oct 09 '20 00:10 arc9693

@arc9693 may I try to work on this issue?

yashbansal130 avatar Oct 16 '20 17:10 yashbansal130

@yashbansal130 Sure. It's yours. You can ping @Abha2001 if you have any doubts.

arc9693 avatar Oct 16 '20 18:10 arc9693

@Abha2001 can u please tell me how can I verify the bug..

yashbansal130 avatar Oct 17 '20 08:10 yashbansal130

@yashbansal130 Github API has a rate limit of 60 requests per hour per IP address. To see this error, you can add several repositories in the repos.json file such that it exceeds this limit. Then go to the explore repositories page. The error will be shown in the console and the cards will no longer show the languages and topics. OR You can try reloading the explore repositories page. Around 7-8 times should show the same error in the console.

Abha2001 avatar Oct 17 '20 12:10 Abha2001