-
Notifications
You must be signed in to change notification settings - Fork 137
Closed
Labels
ops-monitorIssues created/handled by the source build monitor roleIssues created/handled by the source build monitor roleuntriaged
Description
The tool began failing yesterday with a bad credential error from Octokit. I believe that this may be related to the update to the sb-bot PAT.
12:11:45 info: CreateBaselineUpdatePR[0] Starting PR creation at 02/04/2025 12:11:45 UTC for pipeline Sdk.
Unhandled exception: Octokit.AuthorizationException: Bad credentials
at Octokit.Connection.HandleErrors(IResponse response) in /_/Octokit/Http/Connection.cs:line 785
at Octokit.Connection.RunRequest(IRequest request, CancellationToken cancellationToken, Func`2 preprocessResponseBody) in /_/Octokit/Http/Connection.cs:line 766
at Octokit.Connection.Run[T](IRequest request, CancellationToken cancellationToken, Func`2 preprocessResponseBody) in /_/Octokit/Http/Connection.cs:line 751
at Octokit.ApiConnection.Get[T](Uri uri, IDictionary`2 parameters)
at CreateBaselineUpdatePR.PRCreator.ExecuteAsync(String originalFilesDirectory, String updatedFilesDirectory, Int32 buildId, String title, String targetBranch, Pipelines pipeline) in /mnt/vss/_work/1/s/eng/tools/CreateBaselineUpdatePR/PRCreator.cs:line 44
at CreateBaselineUpdatePR.Program.<>c__DisplayClass11_0.<<SetCommandAction>b__0>d.MoveNext() in /mnt/vss/_work/1/s/eng/tools/CreateBaselineUpdatePR/Program.cs:line 109
--- End of stack trace from previous location ---
at System.CommandLine.CliCommand.<>c__DisplayClass32_0.<<SetAction>b__0>d.MoveNext()
--- End of stack trace from previous location ---
at System.CommandLine.Invocation.InvocationPipeline.InvokeAsync(ParseResult parseResult, CancellationToken cancellationToken)
{"message":"Bad credentials","documentation_url":"[https://docs.github.com/rest","status":"401"}](https://docs.github.com/rest%22,%22status%22:%22401%22%7D)
cc @mthalman
Metadata
Metadata
Assignees
Labels
ops-monitorIssues created/handled by the source build monitor roleIssues created/handled by the source build monitor roleuntriaged
Type
Projects
Status
Done