microsoft / microsoft/azure-devops-python-api

`create_push` user authentication error

Đang mở
#383 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Ngôn ngữ chính
Python
Star
684
Fork
218
Merge trung bình
8 ngày 10 giờ
Pull request đã merge (30 ngày)
1

Mô tả

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,`

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu với lệnh gọi create_push và cấu hình xác thực cung cấp client Azure DevOps. Đọc các vị trí traceback trong azure/devops/v6_0/git/git_client_base.py và azure/devops/client.py, sau đó tái hiện yêu cầu và xác định xem lỗi nằm ở hành vi của client hay ở cấu hình xác thực.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
azure, python
Lĩnh vực
api, authentication
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.