microsoft / microsoft/azure-devops-python-api
Feed Client - Resource not found 404
まだ誰も着手していません。
- 主要言語
- Python
- スター
- 684
- フォーク
- 218
- 平均マージ
- 8日 10時間
- マージ済み PR(30日)
- 1
説明
Problem
When using the Feed Client, the client raises an exception which shows:
azure.devops.exceptions.AzureDevOpsClientRequestError: The resource cannot be found. Operation returned a 404 status code.
Minimal example:
from msrest.authentication import BasicAuthentication
import os
if __name__ == "__main__":
org = os.environ.get('AZDO_ORG_SERVICE_URL')
token = os.environ.get('AZDO_PERSONAL_ACCESS_TOKEN')
credentials = BasicAuthentication('', token)
from azure.devops.v6_0.feed.feed_client import FeedClient
feed_client = FeedClient(base_url=org, creds=credentials)
feed_client.get_feeds()
Other clients like Core are working without any problems.
The permissions of the token are not limited and I am the owner of my test organization.
Enabling debugging output of logging leads to:
DEBUG:azure.devops.client:API resource location c65009a7-474a-4ad1-8b42-7d852107ef8c is not registered on https://dev.azure.com/[Removed].
Details
Python Version: 3.8.5
Package Version: 6.0.0b4
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
azure.devops.v6_0.feed.feed_client を使用する最小限の FeedClient の例から始め、azure.devops.client のデバッグログを有効にして、未登録のリソースロケーションに関するメッセージを再現します。FeedClient.get_feeds を追跡し、動作するクライアントと比較します。完了の条件は、有効な組織とトークンに対して get_feeds が 404 を返さなくなることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, python
- 領域
- api, devops
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 35/100