Skip to content

401 Requires authentication #18

@koshkinaav

Description

@koshkinaav

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions