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

Fix: Adding headers to GithubException #2324

Closed
wants to merge 2 commits into from

Conversation

naijith
Copy link

@naijith naijith commented Oct 6, 2022

Used an old private_key to get_access_token() and Exception threw TypeError: __init__() missing 1 required positional argument: 'headers' instead of 401(bad creds) error.

@naijith
Copy link
Author

naijith commented Oct 6, 2022

Hi @s-t-e-v-e-n-k , would be great if you could help with the review

@EnricoMi
Copy link
Collaborator

EnricoMi commented Oct 6, 2022

This is being fixed by #2079, which went stale because maintainers don't have time: #2178

I'd say this is a duplicate of #2079 and #2068, whereas #2079 fixes this better (#2068 (comment)).

@EnricoMi
Copy link
Collaborator

@sfdye looks like this PR is incomplete, please consider reopening #2079 (see #2324 (comment)).

@EnricoMi
Copy link
Collaborator

EnricoMi commented Jun 7, 2023

Closing as duplicate of #2079.

@EnricoMi EnricoMi closed this Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants