microsoft / microsoft/azure-devops-python-api
Feed Client - Resource not found 404
Ninguém assumiu esta issue ainda.
- Linguagem predominante
- Python
- Estrelas
- 684
- Forks
- 218
- Merge médio
- 8d 10h
- PRs com merge (30d)
- 1
Descrição
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
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Direção de pesquisa
Comece com o exemplo mínimo de FeedClient usando azure.devops.v6_0.feed.feed_client e habilite o logging de depuração de azure.devops.client para reproduzir a mensagem de localização de recurso não registrada. Rastreie FeedClient.get_feeds e compare-o com um cliente funcional; considera-se concluído quando get_feeds não retornar mais 404 para uma organização e um token válidos.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- azure, python
- Domínio
- api, devops
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Estagnada
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 35/100