-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
While trying to connect to my organization, I am facing the following issue :
the organization exists here , organization also has a repository.
tried passing creds thorugh files , still getting the same error , PLEASE HELP!!!
$pygrade init --org introtodevopscourse -r https://github.com/IntroToDevopsCourse/devopsproject -s students.tsv -u <username_in_plain_text> -p <password_in_plain_text>
missing github_repo for OrderedDict([('Student ID=765552', 'Name=test student 1')])
missing github_repo for OrderedDict([('Student ID=765552', 'github_id=asawari44')])
missing github_repo for OrderedDict([('Student ID=765552', 'github_repo=https://github.com/asawarijoshi2501/asawari44')])
>>> cannot find org named introtodevopscourse
401 Bad credentials
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/pygrade/init.py", line 84, in create_repos_and_teams
org = [o for o in github.me().organizations() if os.path.basename(o.url) == org_name][0]
File "/usr/local/lib/python3.6/dist-packages/github3/decorators.py", line 31, in auth_wrapper
return func(self, *args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/github3/github.py", line 1468, in me
json = self._json(self._get(url), 200)
File "/usr/local/lib/python3.6/dist-packages/github3/models.py", line 156, in _json
raise exceptions.error_for(response)
github3.exceptions.AuthenticationFailed: 401 Bad credentials
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels