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

401 Requires authentication #18

Open
koshkinaav opened this issue May 16, 2023 · 0 comments
Open

401 Requires authentication #18

koshkinaav opened this issue May 16, 2023 · 0 comments

Comments

@koshkinaav
Copy link

Hello, after using display() there is mistake with authentication:
gist = ghapi.create_gist(description, files)
174 return gist

File ~\AppData\Local\anaconda3\lib\site-packages\github3\decorators.py:32, in requires_auth..auth_wrapper(self, *args, **kwargs)
28 # Mock a 401 response
29 r = generate_fake_error_response(
30 '{"message": "Requires authentication"}'
31 )
---> 32 raise error_for(r)

Can somebody help, please

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

No branches or pull requests

1 participant