microsoft / microsoft/azure-devops-python-api

`create_push` user authentication error

オープン
#383 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
Python
スター
684
フォーク
218
平均マージ
8日 10時間
マージ済み PR(30日)
1

説明

Getting user authentication error when using create_push. Any help is appreciated.

Result: Failure Exception: AzureDevOpsAuthenticationError: The requested resource requires user authentication

File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/devops/v6_0/git/git_client_base.py", line 2643,
in create_push response = self._send(http_method='POST', File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/devops/client.py", line 104,
in _send response = self._send_request(request=request, headers=headers, content=content, media_type=media_type) File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/devops/client.py", line 68,
in _send_request self._handle_error(request, response) File "/home/site/wwwroot/.python_packages/lib/site-packages/azure/devops/client.py", line 290,
in _handle_error raise AzureDevOpsAuthenticationError(full_message_format.format(error_message=error_message,`

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

create_push の呼び出しと、Azure DevOps クライアントを提供する認証設定から始めます。azure/devops/v6_0/git/git_client_base.py と azure/devops/client.py にある traceback の箇所を確認し、その後リクエストを再現して、失敗がクライアントの動作によるものか認証設定によるものかを特定します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, python
領域
api, authentication
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。