Podczas zakładania nowego konta użytkownika występuje błąd:
{
"@t":"2024-05-17T06:47:13.2913680Z",
"@mt":"Dodano uzytkownika {AdresEmail} {UzytkownikId}",
"AdresEmail":"grzegorzXXXXXXX",
"UzytkownikId":"f38d3dd22e454685b2d8d4b5264ff181",
"SourceContext":"UtworzUzytkownikaHandler",
"ApplicationName":"KUIP",
"UID":"root",
"PID":"system",
"RequestId":"0HN3LH6KQQ4TB:00000009",
"RequestPath":"/utworz-uzytkownika",
"ConnectionId":"0HN3LH6KQQ4TB",
"ConsoleLogger":"true",
"IceHost":"KUIP",
"InstanceName":"XXXXXXXXXXX.pl",
"SeqLogger":"true"
}
2024-05-17T08:47:13.294800639+02:00
{
"@t":"2024-05-17T06:47:13.2944600Z",
"@mt":"Index (zero based) must be greater than or equal to zero and less than the size of the argument list.",
"@l":"Error",
"@x":"System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument list.\n
at System.Text.ValueStringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)\n
at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)\n
at System.String.Format(String format, Object[] args)\n
at KUIP.AppServices.AsCommands.Uzytkownicy.UtworzUzytkownikaHandler.InvokeAsync(UtworzUzytkownikaCommand input, Dictionary2 properties)\n
at ?????.?????(ICommandDto ?????, Dictionary2 ?????, Type ?????, ICommandHandlerBase ?????)\n
at ?????.Handle(IContainerScope ?????, ICommandDto ?????, Func1 ?????)\n
at ?????.Handle(ICommandDto ?????, Dictionary2 ?????)\n
at ?????.Receive(IContainerScope ?????, ICommandDto ?????, Func1 ?????)\n
at (TaskAwaiter1& )\n
at ?.Handle(HttpContext ?, Type ?)\n
at ?.?.?.MoveNext()\n
--- End of stack trace from previous location ---\n
at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)\n
at ?.?.?.MoveNext()",
"ErrorResponseBody":"{\n
\"errorId\": \"68a6eeaf27824287adf615f1ca4550f8\",\n
\"instance\": \"/utworz-uzytkownika\",\n
\"status\": 500,\n
\"type\": \"https://httpstatuses.io/500\",\n
\"title\": \"HTTP error InternalServerError\"\n}",
"ErrorId":"68a6eeaf27824287adf615f1ca4550f8"
"SourceContext":"LoggerMiddleware"
"ApplicationName":"KUIP"
"UID":"root"
"PID":"system"
"RequestId":"0HN3LH6KQQ4TB:00000009"
"RequestPath":"/utworz-uzytkownika"
"ConnectionId":"0HN3LH6KQQ4TB"
"ExceptionDetail":{
"Type":"System.FormatException"
"HResult":-2146233033
"Message":"Index (zero based) must be greater than or equal to zero and less than the size of the argument list."
"Source":"System.Private.CoreLib"
"TargetSite":"Void AppendFormatHelper(System.IFormatProvider, System.String, System.ParamsArray)"
}
"ConsoleLogger":"true"
"IceHost":"KUIP"
"InstanceName":"XXXXXXXXXXX.pl"
"SeqLogger":"true"
}