microsoft / microsoft/azure-devops-python-api
Connection module fails to load Resource Areas with the sps_url
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 684
- Forks
- 218
- Avg merge
- 8d 10h
- Merged PRs (30d)
- 1
Description
https://developercommunity.visualstudio.com/t/Resource-Areas-REST-API-unavailable/1661030
The Resource Areas REST API used by the Python SDK is currently unavailable. The API returns the following error:
$ curl https://app.vssps.visualstudio.com/_apis/ResourceAreas
{"$id":"1","innerException":null,"message":"Service Unavailable","typeName":"Microsoft.VisualStudio.Services.Common.VssServiceException, Microsoft.VisualStudio.Services.Common","typeKey":"VssServiceException","errorCode":0,"eventId":3000}
The [Azure DevOps documentation](https://docs.microsoft.com/en-us/azure/devops/extend/develop/work-with-urls?view=azure-devops&tabs=http#how-to-get-an-organizations-url) lists a slightly different URL which also returns the same error:
$ curl https://dev.azure.com/_apis/resourceAreas
{"$id":"1","innerException":null,"message":"Service Unavailable","typeName":"Microsoft.VisualStudio.Services.Common.VssServiceException, Microsoft.VisualStudio.Services.Common","typeKey":"VssServiceException","errorCode":0,"eventId":3000}
This means that any connections instantiated with the sps_url fail to load the resource ids for clients like git_client, accounts_client, etc.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the sps_url connection failure and reviewing how the connection module loads Resource Areas for clients such as git_client and accounts_client. Use the two curl examples as the initial check; done means those client connections can load their resource IDs despite the unavailable Resource Areas endpoint.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100