microsoft / microsoft/azure-devops-python-api

`create_push` user authentication error

未關閉
#383 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

主要語言
Python
星號
684
分支
218
平均合併
8 天 10 小時
30 天內合併 PR
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. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 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 摘要。