When creating a task from an account (Regarding is pre-populated) I get this error. However, I can create a task independent of a parent record with no issue. I tried to look for any workflows or plugins that might be causing this error, but did not find anything.
"The given key was not present in the dictionary."
Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.Crm.Metadata.EnumOptionsByValueCollection`1.get_Item(Int32 optionValue) at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.GetStateFromStatusCode(Int32 statusCode) at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.CheckForStateChange(EntityProxy entity) at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.InitializeRequest(EntityProxy entity, Boolean performDuplicateCheck) at Microsoft.Crm.Application.Platform.DataSource.Create(EntityProxy entity, Boolean performDuplicateCheck, Guid auditingTransactionId, IOrganizationContext context) at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId) at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck) at Microsoft.Crm.Application.Platform.EntityProxy.CreateAndRetrieve(String[] columnSet, Boolean performDuplicateCheck) at Microsoft.Crm.Core.Application.WebServices.InlineEdit.CommandBase.UpdateEntity(Entity entity, Boolean retrieve) at Microsoft.Crm.Core.Application.WebServices.InlineEdit.SaveCommand.ExecuteCommand(String commandXml) at Microsoft.Crm.Core.Application.WebServices.InlineEdit.CommandBase.Execute(String commandXml, Boolean encodeValues) at Microsoft.Crm.Core.Application.WebServices.InlineEditWebService.Execute(Int32 command, String commandXml, Nullable`1 encodeValues): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #AAB2DEE3Detail: <OrganizationServiceFault xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/xrm/2011/Contracts"><ActivityId>a1f47737-5cd6-4c13-ae6f-2e1dd93e4b92</ActivityId><ErrorCode>-2147220970</ErrorCode><ErrorDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" /><Message>System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.ThrowHelper.ThrowKeyNotFoundException() at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at Microsoft.Crm.Metadata.EnumOptionsByValueCollection`1.get_Item(Int32 optionValue) at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.GetStateFromStatusCode(Int32 statusCode) at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.CheckForStateChange(EntityProxy entity) at Microsoft.Crm.Application.Platform.ServiceCommands.CreateCommand.InitializeRequest(EntityProxy entity, Boolean performDuplicateCheck) at Microsoft.Crm.Application.Platform.DataSource.Create(EntityProxy entity, Boolean performDuplicateCheck, Guid auditingTransactionId, IOrganizationContext context) at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck, Guid auditingTransactionId) at Microsoft.Crm.Application.Platform.EntityProxy.Create(Boolean performDuplicateCheck) at Microsoft.Crm.Application.Platform.EntityProxy.CreateAndRetrieve(String[] columnSet, Boolean performDuplicateCheck) at Microsoft.Crm.Core.Application.WebServices.InlineEdit.CommandBase.UpdateEntity(Entity entity, Boolean retrieve) at Microsoft.Crm.Core.Application.WebServices.InlineEdit.SaveCommand.ExecuteCommand(String commandXml) at Microsoft.Crm.Core.Application.WebServices.InlineEdit.CommandBase.Execute(String commandXml, Boolean encodeValues) at Microsoft.Crm.Core.Application.WebServices.InlineEditWebService.Execute(Int32 command, String commandXml, Nullable`1 encodeValues): Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #AAB2DEE3</Message><Timestamp>2019-11-06T16:24:42.9295744Z</Timestamp><ExceptionRetriable>false</ExceptionRetriable><ExceptionSource i:nil="true" /><InnerFault i:nil="true" /><OriginalException i:nil="true" /><TraceText i:nil="true" /></OrganizationServiceFault>