Closed StuartFerguson closed 2 months ago
Errors in Dev Tools
GetTransactionAnalysis:20
GET https://192.168.1.86:5004/lib/chartjs/dist/Chart.min.css net::ERR_ABORTED 404 (Not Found)
GetTransactionAnalysis:54
GET https://192.168.1.86:5004/lib/chartjs/dist/Chart.min.js net::ERR_ABORTED 404 (Not Found)
GetTransactionAnalysis:79
GET https://192.168.1.86:5004/Estate/Reporting/dist/img/user1-128x128.jpg 404 (Not Found)
GetTransactionAnalysis:95
GET https://192.168.1.86:5004/Estate/Reporting/dist/img/user8-128x128.jpg 404 (Not Found)
GetTransactionAnalysis:60
GET https://192.168.1.86:5004/Estate/Reporting/js/helpers.js net::ERR_ABORTED 404 (Not Found)
GetTransactionAnalysis:111
GET https://192.168.1.86:5004/Estate/Reporting/dist/img/user3-128x128.jpg 404 (Not Found)
jquery.min.js:2
POST https://192.168.1.86:5004/Estate/Reporting/GetBottom3MerchantsBySalesValueAsJson 500 (Internal Server Error)
send @ jquery.min.js:2 ajax @ jquery.min.js:2 makeHttpPOST @ shared.js:189 drawBottom3MerchantsBySalesValueChart @ GetTransactionAnalysis:470 drawCharts @ GetTransactionAnalysis:421 Promise.then (async) Cc @ loader.js:143 (anonymous) @ GetTransactionAnalysis:405 GetTransactionAnalysis:521 System.Exception: Error getting top/bottom sales by merchant for estate 435613ac-a468-47a3-ac4f-649d89764c22 TopOrBottom Bottom ans count 3. ---> System.UnauthorizedAccessException at ClientProxyBase.ClientProxyBase.HandleResponse(HttpResponseMessage responseMessage, CancellationToken cancellationToken) at EstateReportingAPI.Client.EstateReportingApiClient.GetTopBottomMerchantData(String accessToken, Guid estateId, TopBottom topBottom, Int32 resultCount, CancellationToken cancellationToken) --- End of inner exception stack trace --- at EstateReportingAPI.Client.EstateReportingApiClient.GetTopBottomMerchantData(String accessToken, Guid estateId, TopBottom topBottom, Int32 resultCount, CancellationToken cancellationToken) at EstateAdministrationUI.Services.ApiClient.<>cDisplayClass39_0.<gClientMethod|0>d.MoveNext() in C:\Projects\TransactionProcessing\EstateAdministrationUI\EstateAdministrationUI.BusinessLogic\Services\ApiClient.cs:line 559 --- End of stack trace from previous location --- at EstateAdministrationUI.Services.ApiClient.CallClientMethod[T](Func`1 clientMethod, CancellationToken cancellationToken) in C:\Projects\TransactionProcessing\EstateAdministrationUI\EstateAdministrationUI.BusinessLogic\Services\ApiClient.cs:line 591 at EstateAdministrationUI.Services.ApiClient.GetTopBottomMerchantData(String accessToken, Guid estateId, TopBottom topBottom, Int32 resultCount, CancellationToken cancellationToken) in C:\Projects\TransactionProcessing\EstateAdministrationUI\EstateAdministrationUI.BusinessLogic\Services\ApiClient.cs:line 564 at EstateAdministrationUI.Areas.Estate.Controllers.ReportingController.GetBottom3MerchantsBySalesValueAsJson(CancellationToken cancellationToken) in C:\Projects\TransactionProcessing\EstateAdministrationUI\EstateAdministrationUI\Areas\Estate\Controllers\ReportingController.cs:line 150 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gLogged|12_1(ControllerActionInvoker invoker) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gAwaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gLogged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Routing.EndpointMiddleware.gAwaitRequestTask|7_0(Endpoint endpoint, Task requestTask, ILogger logger) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
Accept: application/json, text/javascript, /; q=0.01 Host: 192.168.1.86:5004 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0 Accept-Encoding: gzip, deflate, br, zstd Accept-Language: en-GB,en;q=0.9,en-US;q=0.8 Cookie: .AspNetCore.Cookies=chunks-2; .AspNetCore.CookiesC1=CfDJ8Og2NUbGqtlHrjVoEyIcjpE9fPNyFE_9IP2OME2ceRk7TTEgg2ZW6gSPkgXEKMS0DWTK0w19Rx3CG1tXkE3AR85lkzayqnkJUxgcoqumY8YMpnl3nKfudTWNKI-VEKf2RbEn8Zp-oqPVDot1K9-mDz0qQQDDQ1mLcivOdEv6lliBzwvdzhKCbwsIbpSkP-ZPk-0fJgzCBq4zmJqLXzp3ZMrmOoMgrvvlQX7dp8O6PN_ZuGgSa3FisuyUDDGd2fSPHnwmvfXUHHvOWzZSsQU8Ll-2jU26mqGjE304g GetTransactionAnalysis:522 1 jquery.min.js:2
POST https://192.168.1.86:5004/Estate/Reporting/GetComparisonDatesAsJson 500 (Internal Server Error)
send @ jquery.min.js:2 ajax @ jquery.min.js:2 initDatePicker @ GetTransactionAnalysis:428 (anonymous) @ GetTransactionAnalysis:417 e @ jquery.min.js:2 t @ jquery.min.js:2 setTimeout (async) (anonymous) @ jquery.min.js:2 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 fire @ jquery.min.js:2 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 ready @ jquery.min.js:2 B @ jquery.min.js:2 VM90:1 Uncaught (in promise) SyntaxError: Unexpected token 'S', "System.Exc"... is not valid JSON at JSON.parse () at convertJsonToArray (GetTransactionAnalysis:524:25) at drawBottom3MerchantsBySalesValueChart (GetTransactionAnalysis:473:28) at drawCharts (GetTransactionAnalysis:421:9) convertJsonToArray @ GetTransactionAnalysis:524 drawBottom3MerchantsBySalesValueChart @ GetTransactionAnalysis:473 drawCharts @ GetTransactionAnalysis:421 Promise.then (async) Cc @ loader.js:143 (anonymous) @ GetTransactionAnalysis:405 2negotiate:1
Third-party cookie will be blocked in future Microsoft Edge versions as part of unpartitioned third-party cookie deprecation.
Errors in Dev Tools
GetTransactionAnalysis:20
GetTransactionAnalysis:54
GetTransactionAnalysis:79
GetTransactionAnalysis:95
GetTransactionAnalysis:60
GetTransactionAnalysis:111
jquery.min.js:2
send @ jquery.min.js:2 ajax @ jquery.min.js:2 makeHttpPOST @ shared.js:189 drawBottom3MerchantsBySalesValueChart @ GetTransactionAnalysis:470 drawCharts @ GetTransactionAnalysis:421 Promise.then (async) Cc @ loader.js:143 (anonymous) @ GetTransactionAnalysis:405 GetTransactionAnalysis:521 System.Exception: Error getting top/bottom sales by merchant for estate 435613ac-a468-47a3-ac4f-649d89764c22 TopOrBottom Bottom ans count 3. ---> System.UnauthorizedAccessException at ClientProxyBase.ClientProxyBase.HandleResponse(HttpResponseMessage responseMessage, CancellationToken cancellationToken) at EstateReportingAPI.Client.EstateReportingApiClient.GetTopBottomMerchantData(String accessToken, Guid estateId, TopBottom topBottom, Int32 resultCount, CancellationToken cancellationToken) --- End of inner exception stack trace --- at EstateReportingAPI.Client.EstateReportingApiClient.GetTopBottomMerchantData(String accessToken, Guid estateId, TopBottom topBottom, Int32 resultCount, CancellationToken cancellationToken) at EstateAdministrationUI.Services.ApiClient.<>cDisplayClass39_0.<gClientMethod|0>d.MoveNext() in C:\Projects\TransactionProcessing\EstateAdministrationUI\EstateAdministrationUI.BusinessLogic\Services\ApiClient.cs:line 559
--- End of stack trace from previous location ---
at EstateAdministrationUI.Services.ApiClient.CallClientMethod[T](Func`1 clientMethod, CancellationToken cancellationToken) in C:\Projects\TransactionProcessing\EstateAdministrationUI\EstateAdministrationUI.BusinessLogic\Services\ApiClient.cs:line 591
at EstateAdministrationUI.Services.ApiClient.GetTopBottomMerchantData(String accessToken, Guid estateId, TopBottom topBottom, Int32 resultCount, CancellationToken cancellationToken) in C:\Projects\TransactionProcessing\EstateAdministrationUI\EstateAdministrationUI.BusinessLogic\Services\ApiClient.cs:line 564
at EstateAdministrationUI.Areas.Estate.Controllers.ReportingController.GetBottom3MerchantsBySalesValueAsJson(CancellationToken cancellationToken) in C:\Projects\TransactionProcessing\EstateAdministrationUI\EstateAdministrationUI\Areas\Estate\Controllers\ReportingController.cs:line 150
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g Logged|12_1(ControllerActionInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.gAwaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.gLogged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g AwaitRequestTask|7_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)
HEADERS
Accept: application/json, text/javascript, /; q=0.01 Host: 192.168.1.86:5004 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 Edg/126.0.0.0 Accept-Encoding: gzip, deflate, br, zstd Accept-Language: en-GB,en;q=0.9,en-US;q=0.8 Cookie: .AspNetCore.Cookies=chunks-2; .AspNetCore.CookiesC1=CfDJ8Og2NUbGqtlHrjVoEyIcjpE9fPNyFE_9IP2OME2ceRk7TTEgg2ZW6gSPkgXEKMS0DWTK0w19Rx3CG1tXkE3AR85lkzayqnkJUxgcoqumY8YMpnl3nKfudTWNKI-VEKf2RbEn8Zp-oqPVDot1K9-mDz0qQQDDQ1mLcivOdEv6lliBzwvdzhKCbwsIbpSkP-ZPk-0fJgzCBq4zmJqLXzp3ZMrmOoMgrvvlQX7dp8O6PN_ZuGgSa3FisuyUDDGd2fSPHnwmvfXUHHvOWzZSsQU8Ll-2jU26mqGjE304g GetTransactionAnalysis:522 1 jquery.min.js:2
send @ jquery.min.js:2 ajax @ jquery.min.js:2 initDatePicker @ GetTransactionAnalysis:428 (anonymous) @ GetTransactionAnalysis:417 e @ jquery.min.js:2 t @ jquery.min.js:2 setTimeout (async) (anonymous) @ jquery.min.js:2 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 fire @ jquery.min.js:2 c @ jquery.min.js:2 fireWith @ jquery.min.js:2 ready @ jquery.min.js:2 B @ jquery.min.js:2 VM90:1 Uncaught (in promise) SyntaxError: Unexpected token 'S', "System.Exc"... is not valid JSON at JSON.parse ()
at convertJsonToArray (GetTransactionAnalysis:524:25)
at drawBottom3MerchantsBySalesValueChart (GetTransactionAnalysis:473:28)
at drawCharts (GetTransactionAnalysis:421:9)
convertJsonToArray @ GetTransactionAnalysis:524
drawBottom3MerchantsBySalesValueChart @ GetTransactionAnalysis:473
drawCharts @ GetTransactionAnalysis:421
Promise.then (async)
Cc @ loader.js:143
(anonymous) @ GetTransactionAnalysis:405
2negotiate:1