2025-08-18 13:59:24.6967 ERROR Something went wrong: System.Collections.Generic.KeyNotFoundException: The given key 'M3A116G2eIncrEquity' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at COPOSWeb.Repository.Service.SmartFormsExportService.SmartFormsExportService._WriteStrategies(InitiativeExportParams exportParams) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Repository\Service\SmartFormsExportService\SmartFormsExportService.cs:line 489
   at COPOSWeb.Repository.Service.SmartFormsExportService.SmartFormsExportService._GenerateSmartForm(Agency agency, M3CommunityLevelInitiative initiative, Report report, List`1 indicatorExportTags, List`1 strategyExportTags, InitiativeAnswerOptionsParams optionParams, String livingWageDefinition, String filepath, Int32 index, Int32 numInitiatives, String templateFilepath) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Repository\Service\SmartFormsExportService\SmartFormsExportService.cs:line 344
   at COPOSWeb.Repository.Service.SmartFormsExportService.SmartFormsExportService.DownloadSmartFormsExportZipFile(Int32 reportId, String templateFilename, Guid userLoginGuid) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Repository\Service\SmartFormsExportService\SmartFormsExportService.cs:line 264
   at COPOSWeb.Controllers.ReportsController.DownloadSmartFormsExportZipFile(Int32 reportId, String templateFilename, Guid userLoginGuid) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Controllers\ReportsController.cs:line 121
   at lambda_method2602(Closure, Object, Object[])
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>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.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>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.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
2025-08-18 14:07:31.2711 ERROR Something went wrong: System.Collections.Generic.KeyNotFoundException: The given key 'M3A116G2eIncrEquity' was not present in the dictionary.
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at COPOSWeb.Repository.Service.SmartFormsExportService.SmartFormsExportService._WriteStrategies(InitiativeExportParams exportParams) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Repository\Service\SmartFormsExportService\SmartFormsExportService.cs:line 489
   at COPOSWeb.Repository.Service.SmartFormsExportService.SmartFormsExportService._GenerateSmartForm(Agency agency, M3CommunityLevelInitiative initiative, Report report, List`1 indicatorExportTags, List`1 strategyExportTags, InitiativeAnswerOptionsParams optionParams, String livingWageDefinition, String filepath, Int32 index, Int32 numInitiatives, String templateFilepath) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Repository\Service\SmartFormsExportService\SmartFormsExportService.cs:line 344
   at COPOSWeb.Repository.Service.SmartFormsExportService.SmartFormsExportService.DownloadSmartFormsExportZipFile(Int32 reportId, String templateFilename, Guid userLoginGuid) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Repository\Service\SmartFormsExportService\SmartFormsExportService.cs:line 264
   at COPOSWeb.Controllers.ReportsController.DownloadSmartFormsExportZipFile(Int32 reportId, String templateFilename, Guid userLoginGuid) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Controllers\ReportsController.cs:line 121
   at lambda_method2602(Closure, Object, Object[])
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>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.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>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.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
2025-08-18 14:18:17.7286 ERROR Something went wrong: System.Exception: Invalid Permissions
   at COPOSWeb.Repository.Service.InitiativeManagementService.InitiativeManagementService.GetInitiativeDetailsViewModel(Int32 initiativeId, Int32 reportId, Boolean ignoreOverrideStatus, Guid userLoginGuid) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Repository\Service\InitiativeManagementService\InitiativeManagementService.cs:line 631
   at COPOSWeb.Controllers.InitiativeManagementController.GetInitiativeDetailsViewModel(Int32 initiativeId, Int32 reportId, Guid userLoginGuid) in C:\Users\c-jacosmit\source\repos\COPOS2\COPOSWeb\Controllers\InitiativeManagementController.cs:line 34
   at lambda_method3592(Closure, Object, Object[])
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.SyncActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>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.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>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.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddlewareImpl.<Invoke>g__Awaited|8_0(ExceptionHandlerMiddlewareImpl middleware, HttpContext context, Task task)
