microsoft / microsoft/azure-devops-python-api

`create_push` user authentication error

Open
#383 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.