Issues icon indicating copy to clipboard operation
Issues copied to clipboard

Error for expired git credentials when creating release

Open benPearce1 opened this issue 1 year ago • 1 comments

Severity

Blocking some customers, but simple workaround available

Version

2023.2

Latest Version

None

What happened?

Using a project that is using Config As Code, when the git token/credentials expire or are incorrect API calls that rely on the git repo, such as Create Release, will error and return the Git auth error back as the response. This can be confusing as it appears that the Octopus API call failed but it may be the secondary Git call that fails.

This style of error would most likely be experience from integrations such as Azure Devops plugin, GitHub Actions tasks, TeamCity plugin etc.

It

Reproduction

N/a

Error and Stacktrace

No response

More Information

For a Git repo hosted on Azure Devops, the error can be returned as a HTML response with the error message embedded in it, for example:

Access Denied: The Personal Access Token used has expired Access Denied The Personal Access Token used has expired

Workaround

Update your Git credentials.

benPearce1 avatar Jan 17 '24 02:01 benPearce1

The Octopus engineering team has reviewed this issue.
After careful consideration, we’ve classed this low priority. This means we won’t work on it in the near future. We prioritize issues based on the number of people affected, the impact type, and available workarounds. If you’ve encountered this issue and haven’t informed our support team, please email [email protected]. Knowing how many people this issue affects helps us determine its priority.

michelle-luana avatar Jan 24 '24 02:01 michelle-luana