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

API error when you have push access but not access to upload keys #357

Open
asmeurer opened this issue Oct 25, 2019 · 0 comments
Open

API error when you have push access but not access to upload keys #357

asmeurer opened this issue Oct 25, 2019 · 0 comments

Comments

@asmeurer
Copy link
Member

For instance

Traceback (most recent call last):
  File "/Users/aaronmeurer/anaconda3/bin/doctr", line 10, in <module>
    sys.exit(main())
  File "/Users/aaronmeurer/anaconda3/lib/python3.6/site-packages/doctr/__main__.py", line 572, in main
    return process_args(get_parser(config=config))
  File "/Users/aaronmeurer/anaconda3/lib/python3.6/site-packages/doctr/__main__.py", line 260, in process_args
    return args.func(args, parser)
  File "/Users/aaronmeurer/anaconda3/lib/python3.6/site-packages/doctr/__main__.py", line 497, in configure
    upload_GitHub_deploy_key(deploy_key_repo, public_ssh_key, **login_kwargs)
  File "/Users/aaronmeurer/anaconda3/lib/python3.6/site-packages/doctr/local.py", line 312, in upload_GitHub_deploy_key
    return GitHub_post(data, DEPLOY_KEY_URL, **login_kwargs)
  File "/Users/aaronmeurer/anaconda3/lib/python3.6/site-packages/doctr/local.py", line 223, in GitHub_post
    GitHub_raise_for_status(r)
  File "/Users/aaronmeurer/anaconda3/lib/python3.6/site-packages/doctr/local.py", line 212, in GitHub_raise_for_status
    r.raise_for_status()
  File "/Users/aaronmeurer/anaconda3/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://api.github.com/repos/pyflyby/pyflyby/keys
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