You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be related to my GH account being tied to an organizational account. When I select model fine tuning I am prompted to authenticate with GH. Going through that flow I'm prompted which organizational accounts I want to allow access to. I do not select any. As a Microsoft employee one of the organizations offered is Microsoft, so I suspect this is the root of my problem. Generally, I don't allow access to organizations unless I know what the request is trying to consume and here I don't.
Happy to chat over Teams as well and try some things.
This is the output trace for receiving the error.
[2024-01-08T20:38:05.044Z] [INFO] telemetry event:load_catalog sent
Debug: load-catalog[0]
12:38:37.97 0 ExecuteAsync Started
Error: load-catalog[0]
12:38:38.32 0 ExecuteAsync Failed message:Error loading JSON from GitHub: GitHub API request failed with status code Forbidden stack: at WorkspaceAutomation.Catalog.GitHubDownloaderExtensions.d__11.MoveNext() + 0x77d --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at WorkspaceAutomation.WorkspaceWorkflowWizard.<LoadModelCatalogAsync>d__7.MoveNext() + 0x151 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at WorkspaceAutomation.CLI.AILoadModelsCommand.<ExecuteInternalAsync>d__1.MoveNext() + 0xb8 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at WorkspaceAutomation.CLI.CliAsyncCommand1.d__2.MoveNext() + 0x39e
[2024-01-08T20:38:40.623Z] [INFO] telemetry event:invoke_command_error sent
[2024-01-08T20:38:47.386Z] [INFO] Navigation to comingSoon was successful: true
[2024-01-08T20:38:47.388Z] [INFO] Loading View: comingSoon
The text was updated successfully, but these errors were encountered:
I ran into this and was able to work around it by generating a PAT in github - Personal Access Tokens (Classic) (github.com) with repo and user scopes, and then using the command palette in VSCode adding my PAT to it (Windows AI Studio Tools: Set a GitHub personal access token).
This may be related to my GH account being tied to an organizational account. When I select model fine tuning I am prompted to authenticate with GH. Going through that flow I'm prompted which organizational accounts I want to allow access to. I do not select any. As a Microsoft employee one of the organizations offered is Microsoft, so I suspect this is the root of my problem. Generally, I don't allow access to organizations unless I know what the request is trying to consume and here I don't.
Happy to chat over Teams as well and try some things.
This is the output trace for receiving the error.
[2024-01-08T20:38:05.044Z] [INFO] telemetry event:load_catalog sent
Debug: load-catalog[0]
12:38:37.97 0 ExecuteAsync Started
Error: load-catalog[0]
12:38:38.32 0 ExecuteAsync Failed message:Error loading JSON from GitHub: GitHub API request failed with status code Forbidden stack: at WorkspaceAutomation.Catalog.GitHubDownloaderExtensions.d__1
1.MoveNext() + 0x77d --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at WorkspaceAutomation.WorkspaceWorkflowWizard.<LoadModelCatalogAsync>d__7.MoveNext() + 0x151 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at WorkspaceAutomation.CLI.AILoadModelsCommand.<ExecuteInternalAsync>d__1.MoveNext() + 0xb8 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at WorkspaceAutomation.CLI.CliAsyncCommand
1.d__2.MoveNext() + 0x39e[2024-01-08T20:38:40.623Z] [INFO] telemetry event:invoke_command_error sent
[2024-01-08T20:38:47.386Z] [INFO] Navigation to comingSoon was successful: true
[2024-01-08T20:38:47.388Z] [INFO] Loading View: comingSoon
The text was updated successfully, but these errors were encountered: