Failed jobs do not become expired to allow you to re-queue them without any
time pressure. You should re-queue or delete them manually, or apply AutomaticRetry(OnAttemptsExceeded = AttemptsExceededAction.Delete)
attribute to delete them automatically.
An exception occurred during performance of the job. Fewer details...
11/28/2025 5:07:50 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 4:33:30 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 4:44:42 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 4:07:12 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 3:42:38 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 4:04:19 PM
System.Net.Http.HttpRequestException
Request failed with status code BadRequest
System.Net.Http.HttpRequestException: Request failed with status code BadRequest
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
11/28/2025 3:05:47 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/28/2025 2:40:03 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/28/2025 2:07:10 PM
System.Net.Http.HttpRequestException
Request failed with status code ServiceUnavailable
System.Net.Http.HttpRequestException: Request failed with status code ServiceUnavailable
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, StringexpectedRootElement, IDictionary`2parameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 210
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.GetOfflineSubmittedTimeEntries() in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 236
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 35
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 1:42:39 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 1:16:14 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 12:36:30 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 12:33:10 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 12:16:07 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 11:37:26 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 11:09:11 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 10:38:07 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/28/2025 10:14:41 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/27/2025 6:37:13 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1817.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1817.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 8:48:56 AM
System.Net.Http.HttpRequestException
Request failed with status code BadRequest
System.Net.Http.HttpRequestException: Request failed with status code BadRequest
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
11/27/2025 7:12:32 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 7:40:23 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1993.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1993.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 8:09:00 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 8:34:51 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 8:36:42 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 9:13:03 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 9:39:42 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 10:09:05 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 10:28:50 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 11:06:31 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 11:37:46 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 12:09:49 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 12:38:04 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 12:36:30 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 1:08:22 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 1:32:04 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 2:08:44 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 2:42:34 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1702.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1702.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 3:09:00 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 3:35:18 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 4:06:17 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 4:31:32 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1855.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1855.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 4:37:05 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 5:14:21 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 5:33:14 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 6:12:00 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 6:41:14 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1934.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1934.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 7:12:42 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 7:38:39 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 8:08:24 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 8:34:55 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 8:39:43 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 9:09:58 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/28/2025 9:40:57 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 12:35:37 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 12:50:40 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Project.Application.Features.ExportProjectUpdate.Commands.OfflineCommitProjectUpdateTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\ExportProjectUpdate\Commands\OfflineCommitProjectUpdateTo3ECommandHandler.cs:line 115
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 12:44:05 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 1:06:35 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 1:35:41 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2121.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2121.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 2:17:20 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 2:39:57 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 3:08:26 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 3:06:46 PM
System.Net.Http.HttpRequestException
Request failed with status code BadRequest
System.Net.Http.HttpRequestException: Request failed with status code BadRequest
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
11/26/2025 3:35:29 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 4:08:15 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 4:37:31 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 4:29:25 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 5:04:01 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/26/2025 5:32:26 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
11/26/2025 5:32:26 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/26/2025 5:34:42 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/26/2025 5:32:26 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/27/2025 8:16:19 AM
System.Net.Http.HttpRequestException
Request failed with status code BadRequest
System.Net.Http.HttpRequestException: Request failed with status code BadRequest
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
11/26/2025 7:26:32 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1796.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1796.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 7:25:17 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 7:22:44 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 7:24:38 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1914.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1914.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/26/2025 8:37:18 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/26/2025 9:22:08 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 10:05:40 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 10:37:11 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 11:07:13 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 11:45:04 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 12:11:09 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 12:33:06 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/27/2025 12:37:53 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
11/27/2025 1:08:56 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/27/2025 1:38:28 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/27/2025 2:13:10 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/27/2025 2:33:55 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 3:05:11 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 3:40:27 AM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 4:04:53 AM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 4:33:13 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 4:40:59 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 5:03:01 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 5:39:57 AM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 217
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 6:13:17 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 6:42:25 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1796.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1796.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 7:11:57 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/27/2025 7:38:38 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/27/2025 8:08:42 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 8:37:30 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 8:36:07 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 9:05:40 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 9:34:28 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1855.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1855.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 10:10:41 AM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 437
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 10:44:53 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 11:08:41 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 11:36:50 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 12:11:06 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1702.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1702.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 12:34:17 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 12:47:11 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 1:04:43 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 1:44:32 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2121.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2121.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 2:05:04 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 2:38:23 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 3:08:27 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 3:03:12 PM
System.Net.Http.HttpRequestException
Request failed with status code BadRequest
System.Net.Http.HttpRequestException: Request failed with status code BadRequest
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
11/27/2025 3:40:48 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/27/2025 4:06:15 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/27/2025 4:39:40 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 437
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 4:33:04 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 5:05:40 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1914.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1914.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 5:42:10 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/27/2025 6:10:03 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 12:36:41 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 1:08:26 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 1:34:35 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1874.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1874.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 2:07:02 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 2:39:31 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 3:08:45 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 3:41:32 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 4:07:44 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 4:36:36 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 4:25:14 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 5:10:26 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 5:40:01 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 6:09:41 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 6:35:16 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 7:07:21 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 7:36:49 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 8:14:27 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 8:33:17 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 8:36:36 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 9:05:30 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 9:41:18 AM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 437
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/24/2025 10:09:06 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(IServiceProviderprovider, Typetype)
at Hangfire.AspNetCore.AspNetCoreJobActivatorScope.Resolve(Typetype)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
11/24/2025 10:36:16 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
11/24/2025 11:11:52 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/24/2025 11:33:42 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 12:10:15 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 12:30:45 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 12:39:28 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 1:13:15 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 8:45:25 AM
System.Threading.Tasks.TaskCanceledException
The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
---> System.TimeoutException: The operation was canceled.
---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..
---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request.
--- End of inner exception stack trace ---
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketErrorerror, CancellationTokencancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16token)
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessagerequest, Booleanasync, CancellationTokencancellationToken)
--- End of inner exception stack trace ---
at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessagerequest, Booleanasync, CancellationTokencancellationToken)
at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessagerequest, Booleanasync, BooleandoRequestAuth, CancellationTokencancellationToken)
at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessagerequest, Booleanasync, CancellationTokencancellationToken)
at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessagerequest, Booleanasync, CancellationTokencancellationToken)
at System.Net.Http.DecompressionHandler.SendAsync(HttpRequestMessagerequest, Booleanasync, CancellationTokencancellationToken)
at System.Net.Http.HttpClient.<SendAsync>g__Core|83_0(HttpRequestMessagerequest, HttpCompletionOptioncompletionOption, CancellationTokenSourcects, BooleandisposeCts, CancellationTokenSourcependingRequestsCts, CancellationTokenoriginalCancellationToken)
--- End of inner exception stack trace ---
--- End of inner exception stack trace ---
at AG.A1.Scheduler.Project.Application.Features.CommitNumberTo3E.Commands.CommitNumbersTo3ECommandHandler.CommitNumbersTo3E(NumberCommitInputWrapperDtonumberCommitInputWrapper) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\CommitNumberTo3E\Commands\CommitNumbersTo3ECommandHandler.cs:line 142
at AG.A1.Scheduler.Project.Application.Features.CommitNumberTo3E.Commands.CommitNumbersTo3ECommandHandler.Handle(CommitNumbersTo3ERequestrequest, CancellationTokencancellationToken, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\CommitNumberTo3E\Commands\CommitNumbersTo3ECommandHandler.cs:line 106
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 1:40:50 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 2:10:06 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 2:36:13 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 3:12:06 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 3:40:35 PM
System.Net.Http.HttpRequestException
Request failed with status code BadRequest
System.Net.Http.HttpRequestException: Request failed with status code BadRequest
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
11/24/2025 3:42:18 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/24/2025 4:09:10 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(IServiceProviderprovider, Typetype)
at Hangfire.AspNetCore.AspNetCoreJobActivatorScope.Resolve(Typetype)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
11/24/2025 4:31:38 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/24/2025 4:34:09 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 5:11:37 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 437
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 5:32:20 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 5:35:57 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.AlliantOneApiREST.PitBullControllers.PitBullA1ApiClientController.SaveTranscriptDataintoDB(List`1transcripts) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\AlliantOneApiREST\PitBullControllers\PitBullA1ApiClientController.cs:line 49
at AG.A1.Scheduler.Project.Application.Features.TCSPitBull.ExecSummaryFlashTask.SaveTranscriptDataintoDB(List`1transcripts) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\TCSPitBull\ExecSummaryFlashTask.cs:line 349
at AG.A1.Scheduler.Project.Application.Features.TCSPitBull.ExecSummaryFlashTask.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\TCSPitBull\ExecSummaryFlashTask.cs:line 102
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 5:53:31 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 6:32:54 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/24/2025 7:02:18 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/25/2025 9:59:32 AM
System.Net.Http.HttpRequestException
Request failed with status code BadRequest
System.Net.Http.HttpRequestException: Request failed with status code BadRequest
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
11/24/2025 7:38:49 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 8:05:54 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/24/2025 8:38:25 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/24/2025 8:36:45 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/24/2025 9:13:24 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/24/2025 9:38:24 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/24/2025 10:17:29 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/24/2025 10:36:54 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 11:05:44 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 11:37:05 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 12:08:01 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 12:31:28 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 12:39:12 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 1:07:31 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 1:39:43 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 2:03:14 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 2:36:26 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 3:03:13 AM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 3:34:15 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 4:09:48 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 4:33:11 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 4:37:17 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 5:04:00 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1993.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1993.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 5:37:20 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 6:09:37 AM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 217
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/25/2025 6:32:07 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/25/2025 7:12:27 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 7:37:02 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 8:07:26 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 8:35:38 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 8:31:34 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 9:08:08 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 9:37:43 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/25/2025 10:05:22 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/25/2025 10:41:26 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/25/2025 11:02:16 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
11/25/2025 11:43:27 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(IServiceProviderprovider, Typetype)
at Hangfire.AspNetCore.AspNetCoreJobActivatorScope.Resolve(Typetype)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/25/2025 12:05:56 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 12:31:52 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 12:36:11 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 1:07:11 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 1:40:15 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 2:02:18 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 2:25:02 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 3:08:15 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 3:08:09 PM
System.Net.Http.HttpRequestException
Request failed with status code BadRequest
System.Net.Http.HttpRequestException: Request failed with status code BadRequest
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
11/25/2025 3:40:50 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 4:11:07 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 4:37:40 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
Can not change the state to 'Processing': target method was not found. More details...
11/25/2025 4:33:34 PM
System.IO.FileNotFoundException
Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
System.IO.FileNotFoundException: Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'
at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStackassemblyName, ObjectHandleOnStackrequestingAssembly, StackCrawlMarkHandlestackMark, BooleanthrowOnFileNotFound, ObjectHandleOnStackassemblyLoadContext, ObjectHandleOnStackretAssembly)
at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyNameassemblyName, RuntimeAssemblyrequestingAssembly, StackCrawlMark&stackMark, BooleanthrowOnFileNotFound, AssemblyLoadContextassemblyLoadContext)
at System.Reflection.Assembly.Load(AssemblyNameassemblyRef)
at Hangfire.Common.TypeHelper.AssemblyResolver(StringassemblyString)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKeykey, Func`2valueFactory)
at System.TypeNameParser.ResolveAssembly(StringasmName, Func`2assemblyResolver, BooleanthrowOnError, StackCrawlMark&stackMark)
at System.TypeNameParser.ConstructType(Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError, BooleanignoreCase, StackCrawlMark&stackMark)
at System.TypeNameParser.GetType(StringtypeName, Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError, BooleanignoreCase, StackCrawlMark&stackMark)
at System.Type.GetType(StringtypeName, Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError)
at Hangfire.Common.TypeHelper.DefaultTypeResolver(StringtypeName)
at Hangfire.Storage.InvocationData.DeserializeJob()
An exception occurred during performance of the job. More details...
11/25/2025 5:11:32 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 5:41:28 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 437
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 6:14:29 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 6:39:35 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 11:10:18 AM
System.Net.Http.HttpRequestException
Request failed with status code BadRequest
System.Net.Http.HttpRequestException: Request failed with status code BadRequest
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
11/25/2025 7:10:16 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 7:40:15 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 8:11:51 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 8:39:08 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 8:35:09 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/25/2025 9:08:47 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/25/2025 9:38:13 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 10:10:18 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 10:39:00 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2121.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2121.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 11:07:35 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/25/2025 11:36:04 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 12:11:44 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 12:41:35 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.<>c.<UpdateOfflineSubmitEntries>b__25_0(BillingDtom) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
Can not change the state to 'Processing': target method was not found. More details...
11/26/2025 12:33:02 AM
System.IO.FileNotFoundException
Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
System.IO.FileNotFoundException: Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'
at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStackassemblyName, ObjectHandleOnStackrequestingAssembly, StackCrawlMarkHandlestackMark, BooleanthrowOnFileNotFound, ObjectHandleOnStackassemblyLoadContext, ObjectHandleOnStackretAssembly)
at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyNameassemblyName, RuntimeAssemblyrequestingAssembly, StackCrawlMark&stackMark, BooleanthrowOnFileNotFound, AssemblyLoadContextassemblyLoadContext)
at System.Reflection.Assembly.Load(AssemblyNameassemblyRef)
at Hangfire.Common.TypeHelper.AssemblyResolver(StringassemblyString)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKeykey, Func`2valueFactory)
at System.TypeNameParser.ResolveAssembly(StringasmName, Func`2assemblyResolver, BooleanthrowOnError, StackCrawlMark&stackMark)
at System.TypeNameParser.ConstructType(Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError, BooleanignoreCase, StackCrawlMark&stackMark)
at System.TypeNameParser.GetType(StringtypeName, Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError, BooleanignoreCase, StackCrawlMark&stackMark)
at System.Type.GetType(StringtypeName, Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError)
at Hangfire.Common.TypeHelper.DefaultTypeResolver(StringtypeName)
at Hangfire.Storage.InvocationData.DeserializeJob()
An exception occurred during performance of the job. More details...
11/26/2025 1:08:05 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 1:37:31 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 2:12:09 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 2:45:30 AM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 3:05:43 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 3:40:48 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 4:09:06 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 4:39:08 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 4:35:18 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 5:16:52 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 5:33:20 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Project.Application.Features.ExportProjectUpdate.Commands.OfflineCommitProjectUpdateTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\ExportProjectUpdate\Commands\OfflineCommitProjectUpdateTo3ECommandHandler.cs:line 115
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 5:36:29 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 6:02:30 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 6:48:38 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Project.Application.Features.ExportProjectUpdate.Commands.OfflineCommitProjectUpdateTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\ExportProjectUpdate\Commands\OfflineCommitProjectUpdateTo3ECommandHandler.cs:line 115
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 6:43:32 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 7:08:14 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/26/2025 7:39:28 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/26/2025 8:03:26 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 8:35:31 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
Can not change the state to 'Processing': target method was not found. More details...
11/26/2025 8:34:20 AM
System.IO.FileNotFoundException
Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
System.IO.FileNotFoundException: Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'
at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStackassemblyName, ObjectHandleOnStackrequestingAssembly, StackCrawlMarkHandlestackMark, BooleanthrowOnFileNotFound, ObjectHandleOnStackassemblyLoadContext, ObjectHandleOnStackretAssembly)
at System.Reflection.Assembly.Load(AssemblyNameassemblyRef)
at Hangfire.Common.TypeHelper.AssemblyResolver(StringassemblyString)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKeykey, Func`2valueFactory)
at System.TypeNameParser.ResolveAssembly(StringasmName, Func`2assemblyResolver, BooleanthrowOnError, StackCrawlMark&stackMark)
at System.TypeNameParser.ConstructType(Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError, BooleanignoreCase, StackCrawlMark&stackMark)
at System.TypeNameParser.GetType(StringtypeName, Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError, BooleanignoreCase, StackCrawlMark&stackMark)
at System.Type.GetType(StringtypeName, Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError)
at Hangfire.Common.TypeHelper.DefaultTypeResolver(StringtypeName)
at Hangfire.Storage.InvocationData.DeserializeJob()
An exception occurred during performance of the job. More details...
11/26/2025 8:56:51 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Project.Application.Features.ExportProjectUpdate.Commands.OfflineCommitProjectUpdateTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\ExportProjectUpdate\Commands\OfflineCommitProjectUpdateTo3ECommandHandler.cs:line 115
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 9:19:05 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1934.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1934.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 9:39:28 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 10:02:47 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 10:44:15 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 10:59:57 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Project.Application.Features.ExportProjectUpdate.Commands.OfflineCommitProjectUpdateTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\ExportProjectUpdate\Commands\OfflineCommitProjectUpdateTo3ECommandHandler.cs:line 115
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 11:12:16 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 11:45:56 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/26/2025 12:14:22 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/19/2025 9:38:49 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/19/2025 10:05:13 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/19/2025 10:40:25 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/19/2025 11:11:51 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/19/2025 11:40:52 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 12:09:50 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 12:44:29 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 12:34:42 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 1:04:24 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 1:42:51 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 2:08:14 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 2:41:56 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 3:06:13 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 3:39:36 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 4:10:12 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 4:39:05 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 4:30:44 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 5:07:23 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1782.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1782.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 5:36:45 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1794.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1794.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 6:05:13 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 6:34:48 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1993.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1993.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 7:07:20 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 7:36:58 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 8:20:36 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 8:38:32 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 8:37:16 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 9:08:02 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 9:35:54 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 10:17:27 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 10:36:12 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 11:15:50 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 11:36:11 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 12:07:41 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 12:40:30 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 12:31:08 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 1:06:03 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 1:41:06 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/20/2025 2:05:32 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/20/2025 2:39:57 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 3:17:21 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 3:39:08 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 4:04:11 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 4:37:38 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 4:31:41 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 5:09:48 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1817.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1817.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/20/2025 5:40:58 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/20/2025 6:15:46 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 6:40:57 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 7:06:47 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1934.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1934.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 3:38:59 AM
System.Net.Http.HttpRequestException
No connection could be made because the target machine actively refused it. (localhost:44328)
System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:44328)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketErrorerror, CancellationTokencancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgssaea, ValueTaskconnectTask, CancellationTokencancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(Stringhost, Int32port, HttpRequestMessageinitialRequest, Booleanasync, CancellationTokencancellationToken)
--- End of inner exception stack trace ---
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, StringexpectedRootElement, IDictionary`2parameters) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 209
at AG.Integrations.RESTClients.E3EWrapperREST.TransactionControllers.E3ERestWrapperApiClientController.IsServiceAvailable() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\E3EWrapperREST\TransactionControllers\E3ERestWrapperApiClientController.cs:line 23
at AG.A1.Scheduler.Project.Application.Features.CommitNumberTo3E.Commands.CommitNumbersTo3ECommandHandler.Handle(CommitNumbersTo3ERequestrequest, CancellationTokencancellationToken, PerformContextperformContext) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\CommitNumberTo3E\Commands\CommitNumbersTo3ECommandHandler.cs:line 57
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
11/21/2025 3:38:59 AM
System.Net.Http.HttpRequestException
No connection could be made because the target machine actively refused it. (localhost:44328)
System.Net.Http.HttpRequestException: No connection could be made because the target machine actively refused it. (localhost:44328)
---> System.Net.Sockets.SocketException (10061): No connection could be made because the target machine actively refused it.
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketErrorerror, CancellationTokencancellationToken)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16token)
at System.Net.Sockets.Socket.<ConnectAsync>g__WaitForConnectWithCancellation|277_0(AwaitableSocketAsyncEventArgssaea, ValueTaskconnectTask, CancellationTokencancellationToken)
at System.Net.Http.HttpConnectionPool.ConnectToTcpHostAsync(Stringhost, Int32port, HttpRequestMessageinitialRequest, Booleanasync, CancellationTokencancellationToken)
--- End of inner exception stack trace ---
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.GetInternalAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, StringexpectedRootElement, IDictionary`2parameters) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 209
at AG.Integrations.RESTClients.E3EWrapperREST.TransactionControllers.E3ERestWrapperApiClientController.IsServiceAvailable() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\E3EWrapperREST\TransactionControllers\E3ERestWrapperApiClientController.cs:line 23
at AG.A1.Scheduler.Project.Application.Features.CommitNumberTo3E.Commands.CommitNumbersTo3ECommandHandler.Handle(CommitNumbersTo3ERequestrequest, CancellationTokencancellationToken, PerformContextperformContext) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\CommitNumberTo3E\Commands\CommitNumbersTo3ECommandHandler.cs:line 57
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
11/20/2025 7:39:16 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/20/2025 8:11:24 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/20/2025 8:39:29 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 8:33:50 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 9:07:37 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 9:42:02 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 10:08:19 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 10:36:03 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 11:07:33 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/20/2025 11:40:48 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 12:04:36 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/21/2025 12:37:40 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/21/2025 12:32:24 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 1:06:37 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 1:43:27 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 2:15:54 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 2:36:19 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 3:07:10 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 3:38:59 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 4:11:50 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 4:33:39 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 4:38:48 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 5:06:28 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 5:38:32 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 6:05:46 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 6:35:14 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 7:09:11 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/21/2025 7:35:11 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/21/2025 8:09:11 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 8:40:58 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at AG.A1.Framework.Extensions.Mapper.MapEx[TTarget](Objectsource) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Extensions\Mapper.cs:line 20
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.<>c.<UpdateOfflineSubmitEntries>b__25_0(BillingDtom) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 8:38:46 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 9:09:07 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 9:33:50 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1934.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1934.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 10:07:34 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 10:44:53 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 11:09:41 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 11:39:09 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 12:07:09 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 12:33:45 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/21/2025 12:45:23 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/21/2025 1:04:28 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 1:37:07 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 2:06:29 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 2:40:38 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 3:10:59 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 3:46:59 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 4:06:46 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 11:42:24 AM
System.Exception
No entries found to commit.
System.Exception: No entries found to commit.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.Handle(CommitTimeEntriesTo3ERequestrequest, CancellationTokencancellationToken, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\CommitTimeEntryTo3ECommandHandler.cs:line 88
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 4:36:24 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 4:35:37 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 5:07:56 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 12:45:42 PM
System.Exception
No entries found to commit.
System.Exception: No entries found to commit.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.Handle(CommitTimeEntriesTo3ERequestrequest, CancellationTokencancellationToken, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\CommitTimeEntryTo3ECommandHandler.cs:line 88
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 12:47:29 PM
System.Exception
No entries found to commit.
System.Exception: No entries found to commit.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.CommitTimeEntryTo3ECommandHandler.Handle(CommitTimeEntriesTo3ERequestrequest, CancellationTokencancellationToken, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\CommitTimeEntryTo3ECommandHandler.cs:line 88
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 5:35:55 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 6:16:16 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 6:42:14 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 7:10:05 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 10:09:40 AM
System.Net.Http.HttpRequestException
Request failed with status code BadRequest
System.Net.Http.HttpRequestException: Request failed with status code BadRequest
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 392
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters, Nullable`1requestDataFormat, Nullable`1responseDataFormat) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 281
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.GetToken() in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 41
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 72
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\Users\MInnamuri\Documents\Projects\Aone\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
An exception occurred during performance of the job. More details...
11/21/2025 7:35:46 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2121.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2121.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 8:07:36 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 8:35:30 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 8:30:38 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/21/2025 9:12:33 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/21/2025 9:38:45 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1934.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1934.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 10:03:39 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 10:47:36 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1912.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 11:07:50 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/21/2025 11:36:33 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 12:11:40 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 12:36:10 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 12:41:00 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1782.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1782.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 1:15:23 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 1:40:52 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1816.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 2:08:53 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 2:36:14 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1876.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 3:07:44 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 3:41:00 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 4:14:14 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 4:31:28 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 4:41:10 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/22/2025 5:17:55 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetServiceOrCreateInstance(IServiceProviderprovider, Typetype)
at Hangfire.AspNetCore.AspNetCoreJobActivatorScope.Resolve(Typetype)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_1.<PerformJobWithFilters>b__2()
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/22/2025 5:38:42 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 6:00:48 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 431
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 6:41:34 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 7:01:42 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 7:39:25 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 8:08:07 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 8:31:37 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 8:32:17 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 273
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 295
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 125
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 9:16:01 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 9:55:04 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 10:05:18 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1991.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 10:33:24 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/22/2025 11:07:17 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/22/2025 11:41:55 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 12:03:29 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 12:36:47 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1855.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1855.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 12:30:55 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 1:05:49 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 1:40:38 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 2:07:17 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 2:44:43 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 3:04:02 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 3:44:38 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 4:12:12 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2121.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2121.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 4:40:54 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 215
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 4:35:46 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 5:07:50 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 5:39:28 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 6:06:39 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1738.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/22/2025 6:32:17 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/22/2025 7:12:12 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 7:37:48 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 8:05:18 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 8:34:09 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 8:36:19 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 9:08:42 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1796.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1796.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 9:34:00 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 10:05:57 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 10:41:21 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 11:07:48 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/22/2025 11:46:54 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 12:09:37 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 12:35:52 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 12:31:47 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 1:09:21 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 1:38:30 AM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 217
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 2:09:58 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1782.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1782.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 2:43:09 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1914.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1914.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 3:08:49 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 2042.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/23/2025 3:35:52 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/23/2025 4:06:52 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1817.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1817.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 4:37:01 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 4:33:56 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 5:10:03 AM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 5:40:16 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1737.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 6:05:22 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 6:39:35 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1913.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 7:09:53 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 7:39:37 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 8:03:34 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 8:34:57 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 8:34:30 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 9:07:38 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/23/2025 9:39:23 AM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/23/2025 10:07:19 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 10:35:52 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 11:14:47 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1854.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 11:32:38 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1954.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 12:11:31 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 12:33:37 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 12:32:38 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 1:17:04 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 217
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 1:45:00 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 2:11:36 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during processing of a background job. More details...
11/23/2025 2:42:02 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during processing of a background job. More details...
11/23/2025 3:04:07 PM
System.InvalidOperationException
A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
System.InvalidOperationException: A suitable constructor for type 'AG.A1.Scheduler.Billing.Contracts.IOfflineTimeCommitTo3ECommandHandler' could not be located. Ensure the type is concrete and all parameters of a public constructor are either registered as services or passed as arguments. Also ensure no extraneous arguments are provided.
at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.CreateInstance(IServiceProviderprovider, TypeinstanceType, Object[]parameters)
at Hangfire.Server.CoreBackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.BackgroundJobPerformer.<>c__DisplayClass9_0.<PerformJobWithFilters>b__0()
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.InvokePerformFilter(IServerFilterfilter, PerformingContextpreContext, Func`1continuation)
at Hangfire.Server.BackgroundJobPerformer.PerformJobWithFilters(PerformContextcontext, IEnumerable`1filters)
at Hangfire.Server.BackgroundJobPerformer.Perform(PerformContextcontext)
at Hangfire.Server.Worker.PerformJob(BackgroundProcessContextcontext, IStorageConnectionconnection, StringjobId)
An exception occurred during performance of the job. More details...
11/23/2025 3:44:39 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1933.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 4:09:14 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 4:34:26 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 4:33:20 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1992.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 5:09:01 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 217
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
Can not change the state to 'Processing': target method was not found. More details...
11/23/2025 5:37:38 PM
System.IO.FileNotFoundException
Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
System.IO.FileNotFoundException: Could not load file or assembly 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
File name: 'AG.A1.Scheduler.Project.Contracts, Culture=neutral, PublicKeyToken=null'
at System.Reflection.RuntimeAssembly.InternalLoad(ObjectHandleOnStackassemblyName, ObjectHandleOnStackrequestingAssembly, StackCrawlMarkHandlestackMark, BooleanthrowOnFileNotFound, ObjectHandleOnStackassemblyLoadContext, ObjectHandleOnStackretAssembly)
at System.Reflection.Assembly.Load(AssemblyNameassemblyRef)
at Hangfire.Common.TypeHelper.AssemblyResolver(StringassemblyString)
at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKeykey, Func`2valueFactory)
at System.TypeNameParser.ResolveAssembly(StringasmName, Func`2assemblyResolver, BooleanthrowOnError, StackCrawlMark&stackMark)
at System.TypeNameParser.ConstructType(Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError, BooleanignoreCase, StackCrawlMark&stackMark)
at System.TypeNameParser.GetType(StringtypeName, Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError, BooleanignoreCase, StackCrawlMark&stackMark)
at System.Type.GetType(StringtypeName, Func`2assemblyResolver, Func`4typeResolver, BooleanthrowOnError)
at Hangfire.Common.TypeHelper.DefaultTypeResolver(StringtypeName)
at Hangfire.Storage.InvocationData.DeserializeJob()
An exception occurred during performance of the job. More details...
11/23/2025 5:38:32 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1781.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 6:08:06 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 6:32:29 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 7:10:01 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 7:39:00 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 8:07:52 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 8:37:42 PM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 8:33:30 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1875.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 9:10:09 PM
System.NullReferenceException
Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.SendBulkTimeEntriesTo3E(IEnumerable`1timeEntries, PerformContextperformContext) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 345
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 70
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 9:40:04 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 10:04:39 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1695.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 10:36:42 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1616.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 11:01:05 PM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1795.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/23/2025 11:37:17 PM
System.Net.Http.HttpRequestException
Request failed with status code InternalServerError
System.Net.Http.HttpRequestException: Request failed with status code InternalServerError
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.BillingApiREST.BillingControllers.BillingA1ApiClientController.OfflineSubmit(List`1currentUserEntries) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\BillingApiREST\BillingControllers\BillingA1ApiClientController.cs:line 217
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 12:16:03 AM
Newtonsoft.Json.JsonSerializationException
Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
Newtonsoft.Json.JsonSerializationException: Error converting value {null} to type 'System.Int32'. Path 'GroupFeeUserId', line 1, position 1696.
---> System.InvalidCastException: Null object cannot be converted to a value type.
at System.Convert.ChangeType(Objectvalue, TypeconversionType, IFormatProviderprovider)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
--- End of inner exception stack trace ---
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(JsonReaderreader, Objectvalue, CultureInfoculture, JsonContractcontract, TypetargetType)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonPropertyproperty, JsonConverterpropertyConverter, JsonContainerContractcontainerContract, JsonPropertycontainerProperty, JsonReaderreader, Objecttarget)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(ObjectnewObject, JsonReaderreader, JsonObjectContractcontract, JsonPropertymember, Stringid)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReaderreader, TypeobjectType, JsonContractcontract, JsonPropertymember, JsonContainerContractcontainerContract, JsonPropertycontainerMember, ObjectexistingValue)
at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReaderreader, TypeobjectType, BooleancheckAdditionalContent)
at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReaderreader, TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType, JsonSerializerjsonSerializer)
at Newtonsoft.Json.Linq.JToken.ToObject(TypeobjectType)
at Newtonsoft.Json.Linq.JToken.ToObject[T]()
at System.Linq.Enumerable.SelectListIterator`2.ToList()
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.UpdateOfflineSubmitEntries() in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 438
at AG.A1.Scheduler.Billing.Application.Features.CommitTimeTo3E.Commands.OfflineTimeCommitTo3ECommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Billing.Application\Features\CommitTimeTo3E\Commands\OfflineTimeCommitTo3ECommandHandler.cs:line 71
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)
An exception occurred during performance of the job. More details...
11/24/2025 12:30:46 AM
Newtonsoft.Json.JsonSerializationException
Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
Newtonsoft.Json.JsonSerializationException: Cannot deserialize the current JSON array (e.g. [1,2,3]) into type 'AG.Integrations.RESTClients.SalesforceREST.Models.Lead' because the type requires a JSON object (e.g. {"name":"value"}) to deserialize correctly.
To fix this error either change the JSON to a JSON object (e.g. {"name":"value"}) or change the deserialized type to an array or a type that implements a collection interface (e.g. ICollection, IList) like List<T> that can be deserialized from a JSON array. JsonArrayAttribute can also be added to the type to force it to deserialize from a JSON array.
Path '', line 1, position 1.
at AG.A1.Framework.Rest.RESTClient.HandleResponse[T](RestResponserestResponse) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 389
at AG.A1.Framework.Rest.RESTClient.ExecutePOSTAsync[T](IRESTEndpointapiEndpoint, IDictionary`2headers, IDictionary`2bodyParameters, IDictionary`2urlParameters) in C:\agent\_work\1\s\A1Solution\src-framework\AG.A1.Framework\Rest\RESTClient.cs:line 274
at AG.Integrations.RESTClients.SalesforceREST.SalesforceApiClientController.CreateLead(IDictionary`2param, SalesforceTokentoken) in C:\agent\_work\1\s\A1Solution\src-integrations\AG.Integrations.RESTClients\SalesforceREST\SalesforceApiClientController.cs:line 298
at AG.A1.Scheduler.Project.Application.Helpers.SalesforceHelper.CreateLead(Leadlead, BooleanbypassTokenValidation) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Helpers\SalesforceHelper.cs:line 128
at AG.A1.Scheduler.Project.Application.Features.LeadToSF.Commands.OfflineCommitLeadToSFCommandHandler.Run(PerformContextperformContext, IJobCancellationTokencancellationToken) in C:\agent\_work\1\s\A1Solution\src-schedulers\AG.A1.Scheduler.Project.Application\Features\LeadToSF\Commands\OfflineCommitLeadToSFCommandHandler.cs:line 50
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Tasktask)