microsoft / microsoft/azure-devops-python-api
`create_push` user authentication error
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 684
- Forks
- 218
- Avg merge
- 8d 10h
- Merged PRs (30d)
- 1
Description
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,`
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 with the create_push call and the authentication configuration that supplies the Azure DevOps client. Read the traceback locations in azure/devops/v6_0/git/git_client_base.py and azure/devops/client.py, then reproduce the request and establish whether the failure is in client behavior or authentication setup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- azure, python
- Domain
- api, authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100