Natsurainko.FluentLauncher icon indicating copy to clipboard operation
Natsurainko.FluentLauncher copied to clipboard

[Bug] 刷新账户时 400 (Bad Request)

Open PRO-2684 opened this issue 8 months ago • 3 comments

描述遇到的问题

Response status code does not indicate success: 400 (Bad Request).

复现问题的步骤

刷新微软账户

期望的表现

No response

环境

Windows 11 23H2 Launcher 2.2.8.0

附件

System.Net.Http.HttpRequestException
System.Net.Http.HttpRequestException: Response status code does not indicate success: 400 (Bad Request).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Nrk.FluentCore.Authentication.MicrosoftAuthenticator.AuthMsaAsync(String parameterName, String code)
   at Nrk.FluentCore.Authentication.MicrosoftAuthenticator.RefreshAsync(MicrosoftAccount account, IProgress`1 progress)
   at Natsurainko.FluentLauncher.Services.Accounts.AccountService.RefreshAccount(Account account)
   at Natsurainko.FluentLauncher.Services.Accounts.AccountService.RefreshActiveAccount()
   at Natsurainko.FluentLauncher.ViewModels.Settings.AccountViewModel.Refresh()
   at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
   at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
   at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()

PRO-2684 avatar Jun 08 '24 09:06 PRO-2684