github-exporter icon indicating copy to clipboard operation
github-exporter copied to clipboard

Latest tag seems borked with authentication

Open gionn opened this issue 4 years ago • 2 comments

With latest:

time="2021-08-03T15:05:59Z" level=info msg="Fetching https://api.github.com/orgs/repos?per_page=100 \n"
time="2021-08-03T15:06:00Z" level=error msg="Error scraping API, Error: Error: Received 404 status from Github API, ensure the repsository URL is correct. If it's a privare repository, also check the oauth token is correct"
time="2021-08-03T15:06:18Z" level=info msg="Fetching https://api.github.com/orgs/repos?per_page=100 \n"
time="2021-08-03T15:06:18Z" level=error msg="Error scraping API, Error: Error: Received 404 status from Github API, ensure the repsository URL is correct. If it's a privare repository, also check the oauth token is correct"

instead with 2.0.5-alpha is working fine.

I've set both ORGS and GITHUB_TOKEN

gionn avatar Aug 03 '21 15:08 gionn

Same problem here, alpha works fine but this latest gives this same error.

gcalabro-rli avatar Aug 05 '21 16:08 gcalabro-rli

It rather seems to be a bug when assembling the URLs. https://api.github.com/orgs/repos?per_page=100 is invalid, it should be https://api.github.com/orgs/ORGNAME/repos?per_page=100

Also see #75

abrain avatar Nov 15 '21 15:11 abrain