2026-01-12 09:34:57 | Log4Net | Error in Post method : 'Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 2d0cae91-c6de-4d3e-a584-0419c345b89b; Reason: (Message: {"errors":[{"severity":"Error","location":{"start":293,"end":304},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."}]}
ActivityId: 2d0cae91-c6de-4d3e-a584-0419c345b89b, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073699s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5);'
 Microsoft.Azure.Cosmos.CosmosException : Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 2d0cae91-c6de-4d3e-a584-0419c345b89b; Reason: (Message: {"errors":[{"severity":"Error","location":{"start":293,"end":304},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."}]}
ActivityId: 2d0cae91-c6de-4d3e-a584-0419c345b89b, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073699s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5);
   at Microsoft.Azure.Documents.StoreResult.ToResponse(RequestChargeTracker requestChargeTracker)
   at Microsoft.Azure.Documents.ConsistencyReader.<ReadSessionAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Documents.ReplicatedResourceClient.<>c__DisplayClass32_0.<<InvokeAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Documents.StoreClient.<ProcessMessageAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<ProcessMessageAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<SendAsync>d__2.MoveNext()
--- Cosmos Diagnostics ---{"Summary":{"DirectCalls":{"(400, 0)":1},"GatewayCalls":{"(200, 0)":3,"(304, 0)":1}},"name":"Typed FeedIterator ReadNextAsync","start datetime":"2026-01-12T09:34:57.316Z","duration in milliseconds":126.3542,"data":{"Client Configuration":{"Client Created Time Utc":"2026-01-12T09:34:57.3167515Z","MachineId":"hashedMachineName:ad1ef921-d161-42eb-9d95-9bba1990a59e","NumberOfClientsCreated":844,"NumberOfActiveClients":0,"ConnectionMode":"Direct","User Agent":"cosmos-netstandard-sdk/3.46.1|10|X86|Microsoft Windows 10.0.20348 |.NET Framework 4.8.9315.0|N|","ConnectionConfig":{"gw":"(cps:50, urto:6, p:False, httpf: False)","rntbd":"(cto: 5, icto: -1, mrpc: 30, mcpe: 65535, erd: True, pr: ReuseUnicastPort)","other":"(ed:False, be:False)"},"ConsistencyConfig":"(consistency: NotSet, prgns:[], apprgn: )","ProcessorCount":4},"Synchronization Context":"System.Web.AspNetSynchronizationContext","Query Correlated ActivityId":"3ea0052e-cf38-4079-854c-3373c9c90c61"},"children":[{"name":"Create Query Pipeline","duration in milliseconds":39.295,"children":[{"name":"Get Container Properties","duration in milliseconds":28.7898,"children":[{"name":"Get Collection Cache","duration in milliseconds":9.8471000000000011,"children":[{"name":"Waiting for Initialization of client to complete","duration in milliseconds":9.8444}]},{"name":"Read Collection","duration in milliseconds":18.864,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:34:57.3323342Z","DurationInMs":15.605,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/vitallogsagis/colls/batchlog","ResourceType":"Collection","HttpMethod":"GET","ActivityId":"f5d450c4-fbdb-4da8-a328-560eed600088","StatusCode":"OK"}]}}}]},{"name":"Parse Query","duration in milliseconds":0.37420000000000003},{"name":"Get Partition Key Ranges","duration in milliseconds":9.941,"children":[{"name":"Try Get Overlapping Ranges","duration in milliseconds":9.9279000000000011,"data":{"PKRangeCache Info(#2026-01-12T09:34:57.3635627Z)":{"Previous Continuation Token":null,"Continuation Token":"\"1077705\""}},"children":[{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":4.9935,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:34:57.3479392Z","DurationInMs":0,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/9zYbAA==/colls/9zYbAIUesHQ=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"afb2fe0a-5d16-49f1-bc48-6cc283e8830e","StatusCode":"OK"}]}}},{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":4.7814000000000005,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:34:57.3479392Z","DurationInMs":15.6235,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/9zYbAA==/colls/9zYbAIUesHQ=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"e9c56ed0-f2d3-42a4-ba02-ff9bbb217da4","StatusCode":"NotModified","ReasonPhrase":"Not Modified"}]}}}]}]}]},{"name":"MoveNextAsync","duration in milliseconds":78.3665,"children":[{"name":"[,FF) move next","duration in milliseconds":74.4144,"children":[{"name":"Prefetch","duration in milliseconds":74.4097,"children":[{"name":"[,FF) move next","duration in milliseconds":74.406500000000008,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RequestInvokerHandler","duration in milliseconds":72.7844,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.DiagnosticsHandler","duration in milliseconds":72.7235,"data":{"System Info":{"systemHistory":[{"dateUtc":"2026-01-12T09:34:01.9940784Z","cpu":1.172,"memory":12922212.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1125,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:34:12.0040890Z","cpu":1.755,"memory":12908324.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1442,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:34:22.0073393Z","cpu":3.242,"memory":12918116.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1928,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:34:32.0155492Z","cpu":3.237,"memory":12910412.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0609,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:34:42.0195583Z","cpu":4.375,"memory":12893412.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0586,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:34:52.0353333Z","cpu":2.808,"memory":12890116.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0783,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0}]}},"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TelemetryHandler","duration in milliseconds":72.7132,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RetryHandler","duration in milliseconds":72.7097,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RouterHandler","duration in milliseconds":54.489900000000006,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TransportHandler","duration in milliseconds":54.486200000000004,"children":[{"name":"Microsoft.Azure.Documents.ServerStoreModel Transport Request","duration in milliseconds":43.1396,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[{"StartTimeUTC":"2026-01-12T09:34:57.3635627Z","EndTimeUTC":"2026-01-12T09:34:57.3635627Z","TargetEndpoint":"https://vitallog-eastus.documents.azure.com//addresses/?$resolveFor=dbs%2f9zYbAA%3d%3d%2fcolls%2f9zYbAIUesHQ%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0"}],"StoreResponseStatistics":[{"ResponseTimeUTC":"2026-01-12T09:34:57.3948284Z","DurationInMs":31.265700000000002,"ResourceType":"Document","OperationType":"Query","LocationEndpoint":"https://vitallog-eastus.documents.azure.com/","StoreResult":{"ActivityId":"2d0cae91-c6de-4d3e-a584-0419c345b89b","StatusCode":"StartingErrorCode","SubStatusCode":"Unknown","LSN":10666027,"PartitionKeyRangeId":"0","GlobalCommittedLSN":10666027,"ItemLSN":-1,"UsingLocalLSN":true,"QuorumAckedLSN":-1,"SessionToken":"-1#10666027","CurrentWriteQuorum":-1,"CurrentReplicaSetSize":-1,"NumberOfReadRegions":0,"IsValid":true,"StorePhysicalAddress":"rntbd://cdb-ms-prod-eastus1-be141.documents.azure.com:14404/apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073699s/","RequestCharge":1,"RetryAfterInMs":null,"BELatencyInMs":"0.486","ReplicaHealthStatuses":["(port: 14317 | status: Unknown | lkt: 1/12/2026 9:34:57 AM)","(port: 14019 | status: Unknown | lkt: 1/12/2026 9:34:57 AM)","(port: 14348 | status: Unknown | lkt: 1/12/2026 9:34:57 AM)","(port: 14404 | status: Unknown | lkt: 1/12/2026 9:34:57 AM)"],"transportRequestTimeline":{"requestTimeline":[{"event": "Created", "startTimeUtc": "2026-01-12T09:34:57.3635627Z", "durationInMs": 0.0067},{"event": "ChannelAcquisitionStarted", "startTimeUtc": "2026-01-12T09:34:57.3635694Z", "durationInMs": 7.855},{"event": "Pipelined", "startTimeUtc": "2026-01-12T09:34:57.3714244Z", "durationInMs": 0.1889},{"event": "Transit Time", "startTimeUtc": "2026-01-12T09:34:57.3716133Z", "durationInMs": 2.0229},{"event": "Received", "startTimeUtc": "2026-01-12T09:34:57.3736362Z", "durationInMs": 0.1231},{"event": "Completed", "startTimeUtc": "2026-01-12T09:34:57.3737593Z", "durationInMs": 0}],"serviceEndpointStats":{"inflightRequests":1,"openConnections":1},"connectionStats":{"waitforConnectionInit":"True","callsPendingReceive":0,"lastSendAttempt":"2026-01-12T09:34:57.3635627Z","lastSend":"2026-01-12T09:34:57.3635627Z","lastReceive":"2026-01-12T09:34:57.3791885Z"},"requestSizeInBytes":862,"requestBodySizeInBytes":370,"responseMetadataSizeInBytes":372,"responseBodySizeInBytes":144},"TransportException":null}}],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:34:57.3635627Z","DurationInMs":0,"RequestUri":"https://vitallog-eastus.documents.azure.com//addresses/?$resolveFor=dbs%252f9zYbAA%253d%253d%252fcolls%252f9zYbAIUesHQ%253d%252fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0","ResourceType":"Document","HttpMethod":"GET","ActivityId":"2d0cae91-c6de-4d3e-a584-0419c345b89b","StatusCode":"OK"}]},"Point Operation Statistics":{"Id":"PointOperationStatistics","ActivityId":"2d0cae91-c6de-4d3e-a584-0419c345b89b","ResponseTimeUtc":"2026-01-12T09:34:57.4104406Z","StatusCode":400,"SubStatusCode":0,"RequestCharge":1,"RequestUri":"dbs/vitallogsagis/colls/batchlog","ErrorMessage":"Microsoft.Azure.Documents.BadRequestException: Message: {\"errors\":[{\"severity\":\"Error\",\"location\":{\"start\":293,\"end\":304},\"code\":\"SC2001\",\"message\":\"Identifier 'materiallog' could not be resolved.\"}]}\r\nActivityId: 2d0cae91-c6de-4d3e-a584-0419c345b89b, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073699s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5\r\n   at Microsoft.Azure.Documents.StoreResult.ToResponse(RequestChargeTracker requestChargeTracker)\r\n   at Microsoft.Azure.Documents.ConsistencyReader.<ReadSessionAsync>d__13.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.ReplicatedResourceClient.<>c__DisplayClass32_0.<<InvokeAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.StoreClient.<ProcessMessageAsync>d__19.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<ProcessMessageAsync>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<SendAsync>d__2.MoveNext()","RequestSessionToken":null,"ResponseSessionToken":"0:-1#10666027","BELatencyInMs":"0.486"}}}]}]}]}]}]}]},{"name":"Get Cosmos Element Response","duration in milliseconds":1.5726}]}]}]}]},{"name":"Query Response Serialization","duration in milliseconds":1.2408000000000001}]}
2026-01-12 09:35:09 | Log4Net | Error in Post method : 'Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 5a9a20f3-0c73-4296-849c-daf2f90f1126; Reason: (Message: {"errors":[{"severity":"Error","location":{"start":293,"end":304},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."}]}
ActivityId: 5a9a20f3-0c73-4296-849c-daf2f90f1126, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073699s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5);'
 Microsoft.Azure.Cosmos.CosmosException : Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 5a9a20f3-0c73-4296-849c-daf2f90f1126; Reason: (Message: {"errors":[{"severity":"Error","location":{"start":293,"end":304},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."}]}
ActivityId: 5a9a20f3-0c73-4296-849c-daf2f90f1126, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073699s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5);
   at Microsoft.Azure.Documents.StoreResult.ToResponse(RequestChargeTracker requestChargeTracker)
   at Microsoft.Azure.Documents.ConsistencyReader.<ReadSessionAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Documents.ReplicatedResourceClient.<>c__DisplayClass32_0.<<InvokeAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Documents.StoreClient.<ProcessMessageAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<ProcessMessageAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<SendAsync>d__2.MoveNext()
--- Cosmos Diagnostics ---{"Summary":{"DirectCalls":{"(400, 0)":1},"GatewayCalls":{"(200, 0)":3,"(304, 0)":1}},"name":"Typed FeedIterator ReadNextAsync","start datetime":"2026-01-12T09:35:09.488Z","duration in milliseconds":74.9774,"data":{"Client Configuration":{"Client Created Time Utc":"2026-01-12T09:35:09.4887991Z","MachineId":"hashedMachineName:ad1ef921-d161-42eb-9d95-9bba1990a59e","NumberOfClientsCreated":846,"NumberOfActiveClients":0,"ConnectionMode":"Direct","User Agent":"cosmos-netstandard-sdk/3.46.1|10|X86|Microsoft Windows 10.0.20348 |.NET Framework 4.8.9315.0|N|","ConnectionConfig":{"gw":"(cps:50, urto:6, p:False, httpf: False)","rntbd":"(cto: 5, icto: -1, mrpc: 30, mcpe: 65535, erd: True, pr: ReuseUnicastPort)","other":"(ed:False, be:False)"},"ConsistencyConfig":"(consistency: NotSet, prgns:[], apprgn: )","ProcessorCount":4},"Synchronization Context":"System.Web.AspNetSynchronizationContext","Query Correlated ActivityId":"3e48eecc-045a-49fb-91dd-c86158819663"},"children":[{"name":"Create Query Pipeline","duration in milliseconds":47.2762,"children":[{"name":"Get Container Properties","duration in milliseconds":34.5084,"children":[{"name":"Get Collection Cache","duration in milliseconds":15.2064,"children":[{"name":"Waiting for Initialization of client to complete","duration in milliseconds":15.202900000000001}]},{"name":"Read Collection","duration in milliseconds":19.217100000000002,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:35:09.5044203Z","DurationInMs":15.7155,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/vitallogsagis/colls/batchlog","ResourceType":"Collection","HttpMethod":"GET","ActivityId":"1a790bfa-a0b9-4817-8c97-8f55110868b3","StatusCode":"OK"}]}}}]},{"name":"Parse Query","duration in milliseconds":0.3345},{"name":"Get Partition Key Ranges","duration in milliseconds":12.1623,"children":[{"name":"Try Get Overlapping Ranges","duration in milliseconds":12.146700000000001,"data":{"PKRangeCache Info(#2026-01-12T09:35:09.5356845Z)":{"Previous Continuation Token":null,"Continuation Token":"\"1077705\""}},"children":[{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":6.4424,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:35:09.5201358Z","DurationInMs":15.5487,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/9zYbAA==/colls/9zYbAIUesHQ=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"5090436e-f1ae-449b-b424-bf61a5b27b28","StatusCode":"OK"}]}}},{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":5.5323,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:35:09.5356845Z","DurationInMs":0,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/9zYbAA==/colls/9zYbAIUesHQ=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"39e6c2c4-f70d-440d-a533-f590f171570a","StatusCode":"NotModified","ReasonPhrase":"Not Modified"}]}}}]}]}]},{"name":"MoveNextAsync","duration in milliseconds":27.033,"children":[{"name":"[,FF) move next","duration in milliseconds":26.4322,"children":[{"name":"Prefetch","duration in milliseconds":26.4276,"children":[{"name":"[,FF) move next","duration in milliseconds":26.424400000000002,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RequestInvokerHandler","duration in milliseconds":25.6883,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.DiagnosticsHandler","duration in milliseconds":25.6282,"data":{"System Info":{"systemHistory":[{"dateUtc":"2026-01-12T09:34:12.0040890Z","cpu":1.755,"memory":12908324.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1442,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:34:22.0073393Z","cpu":3.242,"memory":12918116.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1928,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:34:32.0155492Z","cpu":3.237,"memory":12910412.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0609,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:34:42.0195583Z","cpu":4.375,"memory":12893412.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0586,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:34:52.0353333Z","cpu":2.808,"memory":12890116.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0783,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:35:02.0512435Z","cpu":4.290,"memory":12862684.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0935,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0}]}},"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TelemetryHandler","duration in milliseconds":25.6218,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RetryHandler","duration in milliseconds":25.6191,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RouterHandler","duration in milliseconds":25.5774,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TransportHandler","duration in milliseconds":25.5745,"children":[{"name":"Microsoft.Azure.Documents.ServerStoreModel Transport Request","duration in milliseconds":25.058500000000002,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[{"StartTimeUTC":"2026-01-12T09:35:09.5356845Z","EndTimeUTC":"2026-01-12T09:35:09.5513145Z","TargetEndpoint":"https://vitallog-eastus.documents.azure.com//addresses/?$resolveFor=dbs%2f9zYbAA%3d%3d%2fcolls%2f9zYbAIUesHQ%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0"}],"StoreResponseStatistics":[{"ResponseTimeUTC":"2026-01-12T09:35:09.5669290Z","DurationInMs":15.614500000000001,"ResourceType":"Document","OperationType":"Query","LocationEndpoint":"https://vitallog-eastus.documents.azure.com/","StoreResult":{"ActivityId":"5a9a20f3-0c73-4296-849c-daf2f90f1126","StatusCode":"StartingErrorCode","SubStatusCode":"Unknown","LSN":10666068,"PartitionKeyRangeId":"0","GlobalCommittedLSN":10666068,"ItemLSN":-1,"UsingLocalLSN":true,"QuorumAckedLSN":-1,"SessionToken":"-1#10666068","CurrentWriteQuorum":-1,"CurrentReplicaSetSize":-1,"NumberOfReadRegions":0,"IsValid":true,"StorePhysicalAddress":"rntbd://cdb-ms-prod-eastus1-be141.documents.azure.com:14404/apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073699s/","RequestCharge":1,"RetryAfterInMs":null,"BELatencyInMs":"0.586","ReplicaHealthStatuses":["(port: 14317 | status: Unknown | lkt: 1/12/2026 9:35:09 AM)","(port: 14019 | status: Unknown | lkt: 1/12/2026 9:35:09 AM)","(port: 14348 | status: Unknown | lkt: 1/12/2026 9:35:09 AM)","(port: 14404 | status: Unknown | lkt: 1/12/2026 9:35:09 AM)"],"transportRequestTimeline":{"requestTimeline":[{"event": "Created", "startTimeUtc": "2026-01-12T09:35:09.5513145Z", "durationInMs": 0.0067},{"event": "ChannelAcquisitionStarted", "startTimeUtc": "2026-01-12T09:35:09.5513212Z", "durationInMs": 16.5325},{"event": "Pipelined", "startTimeUtc": "2026-01-12T09:35:09.5678537Z", "durationInMs": 0.1889},{"event": "Transit Time", "startTimeUtc": "2026-01-12T09:35:09.5680426Z", "durationInMs": 2.2291},{"event": "Received", "startTimeUtc": "2026-01-12T09:35:09.5702717Z", "durationInMs": 0.1019},{"event": "Completed", "startTimeUtc": "2026-01-12T09:35:09.5703736Z", "durationInMs": 0}],"serviceEndpointStats":{"inflightRequests":1,"openConnections":1},"connectionStats":{"waitforConnectionInit":"True","callsPendingReceive":0,"lastSendAttempt":"2026-01-12T09:35:09.5513145Z","lastSend":"2026-01-12T09:35:09.5513145Z","lastReceive":"2026-01-12T09:35:09.5669290Z"},"requestSizeInBytes":857,"requestBodySizeInBytes":369,"responseMetadataSizeInBytes":372,"responseBodySizeInBytes":144},"TransportException":null}}],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:35:09.5356845Z","DurationInMs":15.63,"RequestUri":"https://vitallog-eastus.documents.azure.com//addresses/?$resolveFor=dbs%252f9zYbAA%253d%253d%252fcolls%252f9zYbAIUesHQ%253d%252fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0","ResourceType":"Document","HttpMethod":"GET","ActivityId":"5a9a20f3-0c73-4296-849c-daf2f90f1126","StatusCode":"OK"}]},"Point Operation Statistics":{"Id":"PointOperationStatistics","ActivityId":"5a9a20f3-0c73-4296-849c-daf2f90f1126","ResponseTimeUtc":"2026-01-12T09:35:09.5669290Z","StatusCode":400,"SubStatusCode":0,"RequestCharge":1,"RequestUri":"dbs/vitallogsagis/colls/batchlog","ErrorMessage":"Microsoft.Azure.Documents.BadRequestException: Message: {\"errors\":[{\"severity\":\"Error\",\"location\":{\"start\":293,\"end\":304},\"code\":\"SC2001\",\"message\":\"Identifier 'materiallog' could not be resolved.\"}]}\r\nActivityId: 5a9a20f3-0c73-4296-849c-daf2f90f1126, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073699s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5\r\n   at Microsoft.Azure.Documents.StoreResult.ToResponse(RequestChargeTracker requestChargeTracker)\r\n   at Microsoft.Azure.Documents.ConsistencyReader.<ReadSessionAsync>d__13.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.ReplicatedResourceClient.<>c__DisplayClass32_0.<<InvokeAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.StoreClient.<ProcessMessageAsync>d__19.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<ProcessMessageAsync>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<SendAsync>d__2.MoveNext()","RequestSessionToken":null,"ResponseSessionToken":"0:-1#10666068","BELatencyInMs":"0.586"}}}]}]}]}]}]}]},{"name":"Get Cosmos Element Response","duration in milliseconds":0.69600000000000006}]}]}]}]},{"name":"Query Response Serialization","duration in milliseconds":0.0439}]}
2026-01-12 09:36:24 | Log4Net | Error in Post method : 'Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 1cbca881-5aa8-47fa-8cda-0792e8b7ff73; Reason: (Message: {"errors":[{"severity":"Error","location":{"start":293,"end":304},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."}]}
ActivityId: 1cbca881-5aa8-47fa-8cda-0792e8b7ff73, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073697s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5);'
 Microsoft.Azure.Cosmos.CosmosException : Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 1cbca881-5aa8-47fa-8cda-0792e8b7ff73; Reason: (Message: {"errors":[{"severity":"Error","location":{"start":293,"end":304},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."}]}
ActivityId: 1cbca881-5aa8-47fa-8cda-0792e8b7ff73, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073697s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5);
   at Microsoft.Azure.Documents.StoreResult.ToResponse(RequestChargeTracker requestChargeTracker)
   at Microsoft.Azure.Documents.ConsistencyReader.<ReadSessionAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Documents.ReplicatedResourceClient.<>c__DisplayClass32_0.<<InvokeAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Documents.StoreClient.<ProcessMessageAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<ProcessMessageAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<SendAsync>d__2.MoveNext()
--- Cosmos Diagnostics ---{"Summary":{"DirectCalls":{"(400, 0)":1},"GatewayCalls":{"(200, 0)":3,"(304, 0)":1}},"name":"Typed FeedIterator ReadNextAsync","start datetime":"2026-01-12T09:36:24.620Z","duration in milliseconds":71.80080000000001,"data":{"Client Configuration":{"Client Created Time Utc":"2026-01-12T09:36:24.6200898Z","MachineId":"hashedMachineName:ad1ef921-d161-42eb-9d95-9bba1990a59e","NumberOfClientsCreated":852,"NumberOfActiveClients":0,"ConnectionMode":"Direct","User Agent":"cosmos-netstandard-sdk/3.46.1|10|X86|Microsoft Windows 10.0.20348 |.NET Framework 4.8.9315.0|N|","ConnectionConfig":{"gw":"(cps:50, urto:6, p:False, httpf: False)","rntbd":"(cto: 5, icto: -1, mrpc: 30, mcpe: 65535, erd: True, pr: ReuseUnicastPort)","other":"(ed:False, be:False)"},"ConsistencyConfig":"(consistency: NotSet, prgns:[], apprgn: )","ProcessorCount":4},"Synchronization Context":"System.Web.AspNetSynchronizationContext","Query Correlated ActivityId":"1dd4b65c-5514-4947-a3d6-178679832a33"},"children":[{"name":"Create Query Pipeline","duration in milliseconds":44.7958,"children":[{"name":"Get Container Properties","duration in milliseconds":33.3526,"children":[{"name":"Get Collection Cache","duration in milliseconds":14.5379,"children":[{"name":"Waiting for Initialization of client to complete","duration in milliseconds":14.5326}]},{"name":"Read Collection","duration in milliseconds":18.7182,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:36:24.6357777Z","DurationInMs":15.5523,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/vitallogsagis/colls/batchlog","ResourceType":"Collection","HttpMethod":"GET","ActivityId":"de9caf7e-05b2-48f6-b5a2-81ddfed2a311","StatusCode":"OK"}]}}}]},{"name":"Parse Query","duration in milliseconds":0.332},{"name":"Get Partition Key Ranges","duration in milliseconds":10.9092,"children":[{"name":"Try Get Overlapping Ranges","duration in milliseconds":10.894400000000001,"data":{"PKRangeCache Info(#2026-01-12T09:36:24.6669661Z)":{"Previous Continuation Token":null,"Continuation Token":"\"1077705\""}},"children":[{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":6.1131,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:36:24.6513300Z","DurationInMs":0,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/9zYbAA==/colls/9zYbAIUesHQ=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"e85b6e36-ab7b-427a-8812-a981cf15badf","StatusCode":"OK"}]}}},{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":4.6171000000000006,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:36:24.6513300Z","DurationInMs":15.6361,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/9zYbAA==/colls/9zYbAIUesHQ=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"1aa1c45b-1803-459b-91af-6ef8b9e67488","StatusCode":"NotModified","ReasonPhrase":"Not Modified"}]}}}]}]}]},{"name":"MoveNextAsync","duration in milliseconds":26.338,"children":[{"name":"[,FF) move next","duration in milliseconds":25.7541,"children":[{"name":"Prefetch","duration in milliseconds":25.7478,"children":[{"name":"[,FF) move next","duration in milliseconds":25.743100000000002,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RequestInvokerHandler","duration in milliseconds":25.0078,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.DiagnosticsHandler","duration in milliseconds":24.945,"data":{"System Info":{"systemHistory":[{"dateUtc":"2026-01-12T09:35:32.0880239Z","cpu":0.273,"memory":12840816.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0968,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:35:42.0950381Z","cpu":0.234,"memory":12840396.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1146,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:35:52.1004715Z","cpu":0.351,"memory":12839160.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1283,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:02.1035045Z","cpu":0.391,"memory":12827160.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0794,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:12.1199040Z","cpu":1.053,"memory":12824224.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1258,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:22.1357210Z","cpu":0.507,"memory":12822936.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1604,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0}]}},"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TelemetryHandler","duration in milliseconds":24.9384,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RetryHandler","duration in milliseconds":24.934800000000003,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RouterHandler","duration in milliseconds":24.918400000000002,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TransportHandler","duration in milliseconds":24.915200000000002,"children":[{"name":"Microsoft.Azure.Documents.ServerStoreModel Transport Request","duration in milliseconds":24.3728,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[{"StartTimeUTC":"2026-01-12T09:36:24.6669661Z","EndTimeUTC":"2026-01-12T09:36:24.6669661Z","TargetEndpoint":"https://vitallog-eastus.documents.azure.com//addresses/?$resolveFor=dbs%2f9zYbAA%3d%3d%2fcolls%2f9zYbAIUesHQ%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0"}],"StoreResponseStatistics":[{"ResponseTimeUTC":"2026-01-12T09:36:24.6825774Z","DurationInMs":15.6113,"ResourceType":"Document","OperationType":"Query","LocationEndpoint":"https://vitallog-eastus.documents.azure.com/","StoreResult":{"ActivityId":"1cbca881-5aa8-47fa-8cda-0792e8b7ff73","StatusCode":"StartingErrorCode","SubStatusCode":"Unknown","LSN":10666068,"PartitionKeyRangeId":"0","GlobalCommittedLSN":10666068,"ItemLSN":-1,"UsingLocalLSN":true,"QuorumAckedLSN":-1,"SessionToken":"-1#10666068","CurrentWriteQuorum":-1,"CurrentReplicaSetSize":-1,"NumberOfReadRegions":0,"IsValid":true,"StorePhysicalAddress":"rntbd://cdb-ms-prod-eastus1-be141.documents.azure.com:14348/apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073697s/","RequestCharge":1,"RetryAfterInMs":null,"BELatencyInMs":"0.431","ReplicaHealthStatuses":["(port: 14317 | status: Unknown | lkt: 1/12/2026 9:36:24 AM)","(port: 14019 | status: Unknown | lkt: 1/12/2026 9:36:24 AM)","(port: 14348 | status: Unknown | lkt: 1/12/2026 9:36:24 AM)","(port: 14404 | status: Unknown | lkt: 1/12/2026 9:36:24 AM)"],"transportRequestTimeline":{"requestTimeline":[{"event": "Created", "startTimeUtc": "2026-01-12T09:36:24.6669661Z", "durationInMs": 0.0078},{"event": "ChannelAcquisitionStarted", "startTimeUtc": "2026-01-12T09:36:24.6669739Z", "durationInMs": 16.611},{"event": "Pipelined", "startTimeUtc": "2026-01-12T09:36:24.6835849Z", "durationInMs": 0.1913},{"event": "Transit Time", "startTimeUtc": "2026-01-12T09:36:24.6837762Z", "durationInMs": 2.1084},{"event": "Received", "startTimeUtc": "2026-01-12T09:36:24.6858846Z", "durationInMs": 0.1396},{"event": "Completed", "startTimeUtc": "2026-01-12T09:36:24.6860242Z", "durationInMs": 0}],"serviceEndpointStats":{"inflightRequests":1,"openConnections":1},"connectionStats":{"waitforConnectionInit":"True","callsPendingReceive":0,"lastSendAttempt":"2026-01-12T09:36:24.6825774Z","lastSend":"2026-01-12T09:36:24.6825774Z","lastReceive":"2026-01-12T09:36:24.6825774Z"},"requestSizeInBytes":860,"requestBodySizeInBytes":370,"responseMetadataSizeInBytes":372,"responseBodySizeInBytes":144},"TransportException":null}}],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:36:24.6669661Z","DurationInMs":0,"RequestUri":"https://vitallog-eastus.documents.azure.com//addresses/?$resolveFor=dbs%252f9zYbAA%253d%253d%252fcolls%252f9zYbAIUesHQ%253d%252fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0","ResourceType":"Document","HttpMethod":"GET","ActivityId":"1cbca881-5aa8-47fa-8cda-0792e8b7ff73","StatusCode":"OK"}]},"Point Operation Statistics":{"Id":"PointOperationStatistics","ActivityId":"1cbca881-5aa8-47fa-8cda-0792e8b7ff73","ResponseTimeUtc":"2026-01-12T09:36:24.6825774Z","StatusCode":400,"SubStatusCode":0,"RequestCharge":1,"RequestUri":"dbs/vitallogsagis/colls/batchlog","ErrorMessage":"Microsoft.Azure.Documents.BadRequestException: Message: {\"errors\":[{\"severity\":\"Error\",\"location\":{\"start\":293,\"end\":304},\"code\":\"SC2001\",\"message\":\"Identifier 'materiallog' could not be resolved.\"}]}\r\nActivityId: 1cbca881-5aa8-47fa-8cda-0792e8b7ff73, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073697s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5\r\n   at Microsoft.Azure.Documents.StoreResult.ToResponse(RequestChargeTracker requestChargeTracker)\r\n   at Microsoft.Azure.Documents.ConsistencyReader.<ReadSessionAsync>d__13.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.ReplicatedResourceClient.<>c__DisplayClass32_0.<<InvokeAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.StoreClient.<ProcessMessageAsync>d__19.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<ProcessMessageAsync>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<SendAsync>d__2.MoveNext()","RequestSessionToken":null,"ResponseSessionToken":"0:-1#10666068","BELatencyInMs":"0.431"}}}]}]}]}]}]}]},{"name":"Get Cosmos Element Response","duration in milliseconds":0.6946}]}]}]}]},{"name":"Query Response Serialization","duration in milliseconds":0.048}]}
2026-01-12 09:36:49 | Log4Net | Error in Post method : 'Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: f16a6cee-c89d-48f4-ac6b-ab232c85b619; Reason: (Message: {"errors":[{"severity":"Error","location":{"start":293,"end":304},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."},{"severity":"Error","location":{"start":365,"end":376},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."}]}
ActivityId: f16a6cee-c89d-48f4-ac6b-ab232c85b619, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193070760512s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5);'
 Microsoft.Azure.Cosmos.CosmosException : Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: f16a6cee-c89d-48f4-ac6b-ab232c85b619; Reason: (Message: {"errors":[{"severity":"Error","location":{"start":293,"end":304},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."},{"severity":"Error","location":{"start":365,"end":376},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."}]}
ActivityId: f16a6cee-c89d-48f4-ac6b-ab232c85b619, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193070760512s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5);
   at Microsoft.Azure.Documents.StoreResult.ToResponse(RequestChargeTracker requestChargeTracker)
   at Microsoft.Azure.Documents.ConsistencyReader.<ReadSessionAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Documents.ReplicatedResourceClient.<>c__DisplayClass32_0.<<InvokeAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Documents.StoreClient.<ProcessMessageAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<ProcessMessageAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<SendAsync>d__2.MoveNext()
--- Cosmos Diagnostics ---{"Summary":{"DirectCalls":{"(400, 0)":1},"GatewayCalls":{"(200, 0)":3,"(304, 0)":1}},"name":"Typed FeedIterator ReadNextAsync","start datetime":"2026-01-12T09:36:49.260Z","duration in milliseconds":82.7637,"data":{"Client Configuration":{"Client Created Time Utc":"2026-01-12T09:36:49.2601515Z","MachineId":"hashedMachineName:ad1ef921-d161-42eb-9d95-9bba1990a59e","NumberOfClientsCreated":854,"NumberOfActiveClients":0,"ConnectionMode":"Direct","User Agent":"cosmos-netstandard-sdk/3.46.1|10|X86|Microsoft Windows 10.0.20348 |.NET Framework 4.8.9315.0|N|","ConnectionConfig":{"gw":"(cps:50, urto:6, p:False, httpf: False)","rntbd":"(cto: 5, icto: -1, mrpc: 30, mcpe: 65535, erd: True, pr: ReuseUnicastPort)","other":"(ed:False, be:False)"},"ConsistencyConfig":"(consistency: NotSet, prgns:[], apprgn: )","ProcessorCount":4},"Synchronization Context":"System.Web.AspNetSynchronizationContext","Query Correlated ActivityId":"6c8338ff-67f5-49a6-b5b3-e46ced23069e"},"children":[{"name":"Create Query Pipeline","duration in milliseconds":48.1942,"children":[{"name":"Get Container Properties","duration in milliseconds":37.0441,"children":[{"name":"Get Collection Cache","duration in milliseconds":17.0943,"children":[{"name":"Waiting for Initialization of client to complete","duration in milliseconds":17.090600000000002}]},{"name":"Read Collection","duration in milliseconds":19.8734,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:36:49.2758175Z","DurationInMs":15.5815,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/vitallogsagis/colls/batchlog","ResourceType":"Collection","HttpMethod":"GET","ActivityId":"228fe6f4-e19f-459b-9c06-acb6b96e1b4d","StatusCode":"OK"}]}}}]},{"name":"Parse Query","duration in milliseconds":0.3497},{"name":"Get Partition Key Ranges","duration in milliseconds":10.5771,"children":[{"name":"Try Get Overlapping Ranges","duration in milliseconds":10.562800000000001,"data":{"PKRangeCache Info(#2026-01-12T09:36:49.3070250Z)":{"Previous Continuation Token":null,"Continuation Token":"\"1077705\""}},"children":[{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":5.2871000000000006,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:36:49.2913990Z","DurationInMs":0,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/9zYbAA==/colls/9zYbAIUesHQ=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"174e84ff-5ea6-48c2-b0f9-3667de62e2ee","StatusCode":"OK"}]}}},{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":5.1055,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:36:49.2913990Z","DurationInMs":15.626000000000001,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/9zYbAA==/colls/9zYbAIUesHQ=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"e3753466-2b87-4d3c-a6ee-fa229fed1591","StatusCode":"NotModified","ReasonPhrase":"Not Modified"}]}}}]}]}]},{"name":"MoveNextAsync","duration in milliseconds":33.891200000000005,"children":[{"name":"[,FF) move next","duration in milliseconds":33.3024,"children":[{"name":"Prefetch","duration in milliseconds":33.298,"children":[{"name":"[,FF) move next","duration in milliseconds":33.295,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RequestInvokerHandler","duration in milliseconds":32.539,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.DiagnosticsHandler","duration in milliseconds":32.4807,"data":{"System Info":{"systemHistory":[{"dateUtc":"2026-01-12T09:35:52.1004715Z","cpu":0.351,"memory":12839160.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1283,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:02.1035045Z","cpu":0.391,"memory":12827160.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0794,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:12.1199040Z","cpu":1.053,"memory":12824224.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1258,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:22.1357210Z","cpu":0.507,"memory":12822936.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1604,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:32.1367900Z","cpu":0.742,"memory":12825752.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1017,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:42.1501216Z","cpu":0.117,"memory":12825252.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1107,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0}]}},"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TelemetryHandler","duration in milliseconds":32.4741,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RetryHandler","duration in milliseconds":32.4709,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RouterHandler","duration in milliseconds":32.4517,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TransportHandler","duration in milliseconds":32.4489,"children":[{"name":"Microsoft.Azure.Documents.ServerStoreModel Transport Request","duration in milliseconds":31.879700000000003,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[{"StartTimeUTC":"2026-01-12T09:36:49.3070250Z","EndTimeUTC":"2026-01-12T09:36:49.3227217Z","TargetEndpoint":"https://vitallog-eastus.documents.azure.com//addresses/?$resolveFor=dbs%2f9zYbAA%3d%3d%2fcolls%2f9zYbAIUesHQ%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0"}],"StoreResponseStatistics":[{"ResponseTimeUTC":"2026-01-12T09:36:49.3382726Z","DurationInMs":15.5509,"ResourceType":"Document","OperationType":"Query","LocationEndpoint":"https://vitallog-eastus.documents.azure.com/","StoreResult":{"ActivityId":"f16a6cee-c89d-48f4-ac6b-ab232c85b619","StatusCode":"StartingErrorCode","SubStatusCode":"Unknown","LSN":10666068,"PartitionKeyRangeId":"0","GlobalCommittedLSN":10666068,"ItemLSN":-1,"UsingLocalLSN":true,"QuorumAckedLSN":-1,"SessionToken":"-1#10666068","CurrentWriteQuorum":-1,"CurrentReplicaSetSize":-1,"NumberOfReadRegions":0,"IsValid":true,"StorePhysicalAddress":"rntbd://cdb-ms-prod-eastus1-be141.documents.azure.com:14019/apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193070760512s/","RequestCharge":1,"RetryAfterInMs":null,"BELatencyInMs":"0.531","ReplicaHealthStatuses":["(port: 14317 | status: Unknown | lkt: 1/12/2026 9:36:49 AM)","(port: 14019 | status: Unknown | lkt: 1/12/2026 9:36:49 AM)","(port: 14348 | status: Unknown | lkt: 1/12/2026 9:36:49 AM)","(port: 14404 | status: Unknown | lkt: 1/12/2026 9:36:49 AM)"],"transportRequestTimeline":{"requestTimeline":[{"event": "Created", "startTimeUtc": "2026-01-12T09:36:49.3227217Z", "durationInMs": 0.0059},{"event": "ChannelAcquisitionStarted", "startTimeUtc": "2026-01-12T09:36:49.3227276Z", "durationInMs": 15.3155},{"event": "Pipelined", "startTimeUtc": "2026-01-12T09:36:49.3380431Z", "durationInMs": 0.2},{"event": "Transit Time", "startTimeUtc": "2026-01-12T09:36:49.3382431Z", "durationInMs": 1.8857},{"event": "Received", "startTimeUtc": "2026-01-12T09:36:49.3401288Z", "durationInMs": 0.1014},{"event": "Completed", "startTimeUtc": "2026-01-12T09:36:49.3402302Z", "durationInMs": 0}],"serviceEndpointStats":{"inflightRequests":1,"openConnections":1},"connectionStats":{"waitforConnectionInit":"True","callsPendingReceive":0,"lastSendAttempt":"2026-01-12T09:36:49.3382726Z","lastSend":"2026-01-12T09:36:49.3382726Z","lastReceive":"2026-01-12T09:36:49.3382726Z"},"requestSizeInBytes":928,"requestBodySizeInBytes":440,"responseMetadataSizeInBytes":372,"responseBodySizeInBytes":276},"TransportException":null}}],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:36:49.3070250Z","DurationInMs":15.6967,"RequestUri":"https://vitallog-eastus.documents.azure.com//addresses/?$resolveFor=dbs%252f9zYbAA%253d%253d%252fcolls%252f9zYbAIUesHQ%253d%252fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0","ResourceType":"Document","HttpMethod":"GET","ActivityId":"f16a6cee-c89d-48f4-ac6b-ab232c85b619","StatusCode":"OK"}]},"Point Operation Statistics":{"Id":"PointOperationStatistics","ActivityId":"f16a6cee-c89d-48f4-ac6b-ab232c85b619","ResponseTimeUtc":"2026-01-12T09:36:49.3382726Z","StatusCode":400,"SubStatusCode":0,"RequestCharge":1,"RequestUri":"dbs/vitallogsagis/colls/batchlog","ErrorMessage":"Microsoft.Azure.Documents.BadRequestException: Message: {\"errors\":[{\"severity\":\"Error\",\"location\":{\"start\":293,\"end\":304},\"code\":\"SC2001\",\"message\":\"Identifier 'materiallog' could not be resolved.\"},{\"severity\":\"Error\",\"location\":{\"start\":365,\"end\":376},\"code\":\"SC2001\",\"message\":\"Identifier 'materiallog' could not be resolved.\"}]}\r\nActivityId: f16a6cee-c89d-48f4-ac6b-ab232c85b619, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193070760512s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5\r\n   at Microsoft.Azure.Documents.StoreResult.ToResponse(RequestChargeTracker requestChargeTracker)\r\n   at Microsoft.Azure.Documents.ConsistencyReader.<ReadSessionAsync>d__13.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.ReplicatedResourceClient.<>c__DisplayClass32_0.<<InvokeAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.StoreClient.<ProcessMessageAsync>d__19.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<ProcessMessageAsync>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<SendAsync>d__2.MoveNext()","RequestSessionToken":null,"ResponseSessionToken":"0:-1#10666068","BELatencyInMs":"0.531"}}}]}]}]}]}]}]},{"name":"Get Cosmos Element Response","duration in milliseconds":0.7164}]}]}]}]},{"name":"Query Response Serialization","duration in milliseconds":0.046200000000000005}]}
2026-01-12 09:36:56 | Log4Net | Error in Post method : 'Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 2bcee7a9-7285-48d4-82c4-0fba0926c910; Reason: (Message: {"errors":[{"severity":"Error","location":{"start":334,"end":345},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."}]}
ActivityId: 2bcee7a9-7285-48d4-82c4-0fba0926c910, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193070760512s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5);'
 Microsoft.Azure.Cosmos.CosmosException : Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 2bcee7a9-7285-48d4-82c4-0fba0926c910; Reason: (Message: {"errors":[{"severity":"Error","location":{"start":334,"end":345},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."}]}
ActivityId: 2bcee7a9-7285-48d4-82c4-0fba0926c910, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193070760512s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5);
   at Microsoft.Azure.Documents.StoreResult.ToResponse(RequestChargeTracker requestChargeTracker)
   at Microsoft.Azure.Documents.ConsistencyReader.<ReadSessionAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Documents.ReplicatedResourceClient.<>c__DisplayClass32_0.<<InvokeAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Documents.StoreClient.<ProcessMessageAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<ProcessMessageAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<SendAsync>d__2.MoveNext()
--- Cosmos Diagnostics ---{"Summary":{"DirectCalls":{"(400, 0)":1},"GatewayCalls":{"(200, 0)":3,"(304, 0)":1}},"name":"Typed FeedIterator ReadNextAsync","start datetime":"2026-01-12T09:36:56.839Z","duration in milliseconds":76.349600000000009,"data":{"Client Configuration":{"Client Created Time Utc":"2026-01-12T09:36:56.8393709Z","MachineId":"hashedMachineName:ad1ef921-d161-42eb-9d95-9bba1990a59e","NumberOfClientsCreated":856,"NumberOfActiveClients":0,"ConnectionMode":"Direct","User Agent":"cosmos-netstandard-sdk/3.46.1|10|X86|Microsoft Windows 10.0.20348 |.NET Framework 4.8.9315.0|N|","ConnectionConfig":{"gw":"(cps:50, urto:6, p:False, httpf: False)","rntbd":"(cto: 5, icto: -1, mrpc: 30, mcpe: 65535, erd: True, pr: ReuseUnicastPort)","other":"(ed:False, be:False)"},"ConsistencyConfig":"(consistency: NotSet, prgns:[], apprgn: )","ProcessorCount":4},"Synchronization Context":"System.Web.AspNetSynchronizationContext","Query Correlated ActivityId":"2d745830-f9c2-47d0-a119-f9c5e77196c3"},"children":[{"name":"Create Query Pipeline","duration in milliseconds":47.6037,"children":[{"name":"Get Container Properties","duration in milliseconds":36.2797,"children":[{"name":"Get Collection Cache","duration in milliseconds":15.088700000000001,"children":[{"name":"Waiting for Initialization of client to complete","duration in milliseconds":15.084800000000001}]},{"name":"Read Collection","duration in milliseconds":21.101200000000002,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:36:56.8549975Z","DurationInMs":31.3165,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/vitallogsagis/colls/batchlog","ResourceType":"Collection","HttpMethod":"GET","ActivityId":"093354ba-9498-4802-9c1c-1dc0fd567f71","StatusCode":"OK"}]}}}]},{"name":"Parse Query","duration in milliseconds":0.32730000000000004},{"name":"Get Partition Key Ranges","duration in milliseconds":10.7735,"children":[{"name":"Try Get Overlapping Ranges","duration in milliseconds":10.7591,"data":{"PKRangeCache Info(#2026-01-12T09:36:56.8863140Z)":{"Previous Continuation Token":null,"Continuation Token":"\"1077705\""}},"children":[{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":5.5227,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:36:56.8863140Z","DurationInMs":0,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/9zYbAA==/colls/9zYbAIUesHQ=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"9b0c77a0-13fc-46d1-b908-6c477e70e8e2","StatusCode":"OK"}]}}},{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":5.0353,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:36:56.8863140Z","DurationInMs":0,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/9zYbAA==/colls/9zYbAIUesHQ=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"a2efa358-3490-4797-8447-5c08b2fd8d55","StatusCode":"NotModified","ReasonPhrase":"Not Modified"}]}}}]}]}]},{"name":"MoveNextAsync","duration in milliseconds":28.0619,"children":[{"name":"[,FF) move next","duration in milliseconds":27.468500000000002,"children":[{"name":"Prefetch","duration in milliseconds":27.4635,"children":[{"name":"[,FF) move next","duration in milliseconds":27.4601,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RequestInvokerHandler","duration in milliseconds":26.693,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.DiagnosticsHandler","duration in milliseconds":26.623900000000003,"data":{"System Info":{"systemHistory":[{"dateUtc":"2026-01-12T09:36:02.1035045Z","cpu":0.391,"memory":12827160.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0794,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:12.1199040Z","cpu":1.053,"memory":12824224.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1258,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:22.1357210Z","cpu":0.507,"memory":12822936.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1604,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:32.1367900Z","cpu":0.742,"memory":12825752.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1017,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:42.1501216Z","cpu":0.117,"memory":12825252.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1107,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:52.1517644Z","cpu":0.781,"memory":12845364.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0885,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0}]}},"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TelemetryHandler","duration in milliseconds":26.615000000000002,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RetryHandler","duration in milliseconds":26.6113,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RouterHandler","duration in milliseconds":26.591700000000003,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TransportHandler","duration in milliseconds":26.589000000000002,"children":[{"name":"Microsoft.Azure.Documents.ServerStoreModel Transport Request","duration in milliseconds":26.046400000000002,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[{"StartTimeUTC":"2026-01-12T09:36:56.8863140Z","EndTimeUTC":"2026-01-12T09:36:56.9019953Z","TargetEndpoint":"https://vitallog-eastus.documents.azure.com//addresses/?$resolveFor=dbs%2f9zYbAA%3d%3d%2fcolls%2f9zYbAIUesHQ%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0"}],"StoreResponseStatistics":[{"ResponseTimeUTC":"2026-01-12T09:36:56.9174995Z","DurationInMs":15.5042,"ResourceType":"Document","OperationType":"Query","LocationEndpoint":"https://vitallog-eastus.documents.azure.com/","StoreResult":{"ActivityId":"2bcee7a9-7285-48d4-82c4-0fba0926c910","StatusCode":"StartingErrorCode","SubStatusCode":"Unknown","LSN":10666072,"PartitionKeyRangeId":"0","GlobalCommittedLSN":10666072,"ItemLSN":-1,"UsingLocalLSN":true,"QuorumAckedLSN":-1,"SessionToken":"-1#10666072","CurrentWriteQuorum":-1,"CurrentReplicaSetSize":-1,"NumberOfReadRegions":0,"IsValid":true,"StorePhysicalAddress":"rntbd://cdb-ms-prod-eastus1-be141.documents.azure.com:14019/apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193070760512s/","RequestCharge":1,"RetryAfterInMs":null,"BELatencyInMs":"0.574","ReplicaHealthStatuses":["(port: 14317 | status: Unknown | lkt: 1/12/2026 9:36:56 AM)","(port: 14019 | status: Unknown | lkt: 1/12/2026 9:36:56 AM)","(port: 14348 | status: Unknown | lkt: 1/12/2026 9:36:56 AM)","(port: 14404 | status: Unknown | lkt: 1/12/2026 9:36:56 AM)"],"transportRequestTimeline":{"requestTimeline":[{"event": "Created", "startTimeUtc": "2026-01-12T09:36:56.9019953Z", "durationInMs": 0.0075},{"event": "ChannelAcquisitionStarted", "startTimeUtc": "2026-01-12T09:36:56.9020028Z", "durationInMs": 18.2864},{"event": "Pipelined", "startTimeUtc": "2026-01-12T09:36:56.9202892Z", "durationInMs": 0.1958},{"event": "Transit Time", "startTimeUtc": "2026-01-12T09:36:56.9204850Z", "durationInMs": 2.232},{"event": "Received", "startTimeUtc": "2026-01-12T09:36:56.9227170Z", "durationInMs": 0.1221},{"event": "Completed", "startTimeUtc": "2026-01-12T09:36:56.9228391Z", "durationInMs": 0}],"serviceEndpointStats":{"inflightRequests":1,"openConnections":1},"connectionStats":{"waitforConnectionInit":"True","callsPendingReceive":0,"lastSendAttempt":"2026-01-12T09:36:56.9174995Z","lastSend":"2026-01-12T09:36:56.9174995Z","lastReceive":"2026-01-12T09:36:56.9174995Z"},"requestSizeInBytes":893,"requestBodySizeInBytes":405,"responseMetadataSizeInBytes":372,"responseBodySizeInBytes":144},"TransportException":null}}],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:36:56.8863140Z","DurationInMs":15.6813,"RequestUri":"https://vitallog-eastus.documents.azure.com//addresses/?$resolveFor=dbs%252f9zYbAA%253d%253d%252fcolls%252f9zYbAIUesHQ%253d%252fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0","ResourceType":"Document","HttpMethod":"GET","ActivityId":"2bcee7a9-7285-48d4-82c4-0fba0926c910","StatusCode":"OK"}]},"Point Operation Statistics":{"Id":"PointOperationStatistics","ActivityId":"2bcee7a9-7285-48d4-82c4-0fba0926c910","ResponseTimeUtc":"2026-01-12T09:36:56.9174995Z","StatusCode":400,"SubStatusCode":0,"RequestCharge":1,"RequestUri":"dbs/vitallogsagis/colls/batchlog","ErrorMessage":"Microsoft.Azure.Documents.BadRequestException: Message: {\"errors\":[{\"severity\":\"Error\",\"location\":{\"start\":334,\"end\":345},\"code\":\"SC2001\",\"message\":\"Identifier 'materiallog' could not be resolved.\"}]}\r\nActivityId: 2bcee7a9-7285-48d4-82c4-0fba0926c910, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193070760512s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5\r\n   at Microsoft.Azure.Documents.StoreResult.ToResponse(RequestChargeTracker requestChargeTracker)\r\n   at Microsoft.Azure.Documents.ConsistencyReader.<ReadSessionAsync>d__13.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.ReplicatedResourceClient.<>c__DisplayClass32_0.<<InvokeAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.StoreClient.<ProcessMessageAsync>d__19.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<ProcessMessageAsync>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<SendAsync>d__2.MoveNext()","RequestSessionToken":null,"ResponseSessionToken":"0:-1#10666072","BELatencyInMs":"0.574"}}}]}]}]}]}]}]},{"name":"Get Cosmos Element Response","duration in milliseconds":0.72120000000000006}]}]}]}]},{"name":"Query Response Serialization","duration in milliseconds":0.0492}]}
2026-01-12 09:37:11 | Log4Net | Error in Post method : 'Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 528c4f2a-9f7e-43c0-af83-190a6afa94d3; Reason: (Message: {"errors":[{"severity":"Error","location":{"start":293,"end":304},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."}]}
ActivityId: 528c4f2a-9f7e-43c0-af83-190a6afa94d3, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073698p/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5);'
 Microsoft.Azure.Cosmos.CosmosException : Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 528c4f2a-9f7e-43c0-af83-190a6afa94d3; Reason: (Message: {"errors":[{"severity":"Error","location":{"start":293,"end":304},"code":"SC2001","message":"Identifier 'materiallog' could not be resolved."}]}
ActivityId: 528c4f2a-9f7e-43c0-af83-190a6afa94d3, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073698p/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5);
   at Microsoft.Azure.Documents.StoreResult.ToResponse(RequestChargeTracker requestChargeTracker)
   at Microsoft.Azure.Documents.ConsistencyReader.<ReadSessionAsync>d__13.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Documents.ReplicatedResourceClient.<>c__DisplayClass32_0.<<InvokeAsync>b__0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Documents.StoreClient.<ProcessMessageAsync>d__19.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<ProcessMessageAsync>d__3.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<SendAsync>d__2.MoveNext()
--- Cosmos Diagnostics ---{"Summary":{"DirectCalls":{"(400, 0)":1},"GatewayCalls":{"(200, 0)":3,"(304, 0)":1}},"name":"Typed FeedIterator ReadNextAsync","start datetime":"2026-01-12T09:37:11.834Z","duration in milliseconds":73.6361,"data":{"Client Configuration":{"Client Created Time Utc":"2026-01-12T09:37:11.8343050Z","MachineId":"hashedMachineName:ad1ef921-d161-42eb-9d95-9bba1990a59e","NumberOfClientsCreated":858,"NumberOfActiveClients":0,"ConnectionMode":"Direct","User Agent":"cosmos-netstandard-sdk/3.46.1|10|X86|Microsoft Windows 10.0.20348 |.NET Framework 4.8.9315.0|N|","ConnectionConfig":{"gw":"(cps:50, urto:6, p:False, httpf: False)","rntbd":"(cto: 5, icto: -1, mrpc: 30, mcpe: 65535, erd: True, pr: ReuseUnicastPort)","other":"(ed:False, be:False)"},"ConsistencyConfig":"(consistency: NotSet, prgns:[], apprgn: )","ProcessorCount":4},"Synchronization Context":"System.Web.AspNetSynchronizationContext","Query Correlated ActivityId":"c73901e9-2cb2-4599-99ef-d4ff44d0405b"},"children":[{"name":"Create Query Pipeline","duration in milliseconds":45.719300000000004,"children":[{"name":"Get Container Properties","duration in milliseconds":34.8024,"children":[{"name":"Get Collection Cache","duration in milliseconds":14.6323,"children":[{"name":"Waiting for Initialization of client to complete","duration in milliseconds":14.6286}]},{"name":"Read Collection","duration in milliseconds":20.095000000000002,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:37:11.8499522Z","DurationInMs":15.5365,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/vitallogsagis/colls/batchlog","ResourceType":"Collection","HttpMethod":"GET","ActivityId":"00a453f5-ad3a-46c1-9ad1-0ea48cf6a1ea","StatusCode":"OK"}]}}}]},{"name":"Parse Query","duration in milliseconds":0.3289},{"name":"Get Partition Key Ranges","duration in milliseconds":10.3755,"children":[{"name":"Try Get Overlapping Ranges","duration in milliseconds":10.358500000000001,"data":{"PKRangeCache Info(#2026-01-12T09:37:11.8811818Z)":{"Previous Continuation Token":null,"Continuation Token":"\"1077705\""}},"children":[{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":5.0605,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:37:11.8654887Z","DurationInMs":0,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/9zYbAA==/colls/9zYbAIUesHQ=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"6d878744-0370-4d84-a682-873b81d8f986","StatusCode":"OK"}]}}},{"name":"Read PartitionKeyRange Change Feed","duration in milliseconds":5.1114000000000006,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[],"StoreResponseStatistics":[],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:37:11.8654887Z","DurationInMs":15.693100000000001,"RequestUri":"https://vitallog-eastus.documents.azure.com/dbs/9zYbAA==/colls/9zYbAIUesHQ=/pkranges","ResourceType":"PartitionKeyRange","HttpMethod":"GET","ActivityId":"bf43d6f8-a683-47c9-b286-16cabc7c48f5","StatusCode":"NotModified","ReasonPhrase":"Not Modified"}]}}}]}]}]},{"name":"MoveNextAsync","duration in milliseconds":27.2204,"children":[{"name":"[,FF) move next","duration in milliseconds":26.625600000000002,"children":[{"name":"Prefetch","duration in milliseconds":26.6203,"children":[{"name":"[,FF) move next","duration in milliseconds":26.6167,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RequestInvokerHandler","duration in milliseconds":25.8502,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.DiagnosticsHandler","duration in milliseconds":25.7822,"data":{"System Info":{"systemHistory":[{"dateUtc":"2026-01-12T09:36:12.1199040Z","cpu":1.053,"memory":12824224.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1258,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:22.1357210Z","cpu":0.507,"memory":12822936.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1604,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:32.1367900Z","cpu":0.742,"memory":12825752.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1017,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:42.1501216Z","cpu":0.117,"memory":12825252.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.1107,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:36:52.1517644Z","cpu":0.781,"memory":12845364.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0885,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0},{"dateUtc":"2026-01-12T09:37:02.1585931Z","cpu":0.897,"memory":12839456.000,"threadInfo":{"isThreadStarving":"False","threadWaitIntervalInMs":0.0743,"availableThreads":8190,"minThreads":4,"maxThreads":8191},"numberOfOpenTcpConnection":0}]}},"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TelemetryHandler","duration in milliseconds":25.7754,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RetryHandler","duration in milliseconds":25.7708,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.RouterHandler","duration in milliseconds":25.7497,"children":[{"name":"Microsoft.Azure.Cosmos.Handlers.TransportHandler","duration in milliseconds":25.7469,"children":[{"name":"Microsoft.Azure.Documents.ServerStoreModel Transport Request","duration in milliseconds":25.1736,"data":{"Client Side Request Stats":{"Id":"AggregatedClientSideRequestStatistics","ContactedReplicas":[],"RegionsContacted":[],"FailedReplicas":[],"AddressResolutionStatistics":[{"StartTimeUTC":"2026-01-12T09:37:11.8811818Z","EndTimeUTC":"2026-01-12T09:37:11.8811818Z","TargetEndpoint":"https://vitallog-eastus.documents.azure.com//addresses/?$resolveFor=dbs%2f9zYbAA%3d%3d%2fcolls%2f9zYbAIUesHQ%3d%2fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0"}],"StoreResponseStatistics":[{"ResponseTimeUTC":"2026-01-12T09:37:11.8967392Z","DurationInMs":15.557400000000001,"ResourceType":"Document","OperationType":"Query","LocationEndpoint":"https://vitallog-eastus.documents.azure.com/","StoreResult":{"ActivityId":"528c4f2a-9f7e-43c0-af83-190a6afa94d3","StatusCode":"StartingErrorCode","SubStatusCode":"Unknown","LSN":10666072,"PartitionKeyRangeId":"0","GlobalCommittedLSN":10666072,"ItemLSN":-1,"UsingLocalLSN":true,"QuorumAckedLSN":10666072,"SessionToken":"-1#10666072","CurrentWriteQuorum":3,"CurrentReplicaSetSize":4,"NumberOfReadRegions":0,"IsValid":true,"StorePhysicalAddress":"rntbd://cdb-ms-prod-eastus1-be141.documents.azure.com:14317/apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073698p/","RequestCharge":1,"RetryAfterInMs":null,"BELatencyInMs":"0.53","ReplicaHealthStatuses":["(port: 14317 | status: Unknown | lkt: 1/12/2026 9:37:11 AM)","(port: 14019 | status: Unknown | lkt: 1/12/2026 9:37:11 AM)","(port: 14348 | status: Unknown | lkt: 1/12/2026 9:37:11 AM)","(port: 14404 | status: Unknown | lkt: 1/12/2026 9:37:11 AM)"],"transportRequestTimeline":{"requestTimeline":[{"event": "Created", "startTimeUtc": "2026-01-12T09:37:11.8811818Z", "durationInMs": 0.0083},{"event": "ChannelAcquisitionStarted", "startTimeUtc": "2026-01-12T09:37:11.8811901Z", "durationInMs": 17.3223},{"event": "Pipelined", "startTimeUtc": "2026-01-12T09:37:11.8985124Z", "durationInMs": 0.199},{"event": "Transit Time", "startTimeUtc": "2026-01-12T09:37:11.8987114Z", "durationInMs": 2.1744},{"event": "Received", "startTimeUtc": "2026-01-12T09:37:11.9008858Z", "durationInMs": 0.1511},{"event": "Completed", "startTimeUtc": "2026-01-12T09:37:11.9010369Z", "durationInMs": 0}],"serviceEndpointStats":{"inflightRequests":1,"openConnections":1},"connectionStats":{"waitforConnectionInit":"True","callsPendingReceive":0,"lastSendAttempt":"2026-01-12T09:37:11.8967392Z","lastSend":"2026-01-12T09:37:11.8967392Z","lastReceive":"2026-01-12T09:37:11.8967392Z"},"requestSizeInBytes":862,"requestBodySizeInBytes":372,"responseMetadataSizeInBytes":408,"responseBodySizeInBytes":144},"TransportException":null}}],"HttpResponseStats":[{"StartTimeUTC":"2026-01-12T09:37:11.8811818Z","DurationInMs":0,"RequestUri":"https://vitallog-eastus.documents.azure.com//addresses/?$resolveFor=dbs%252f9zYbAA%253d%253d%252fcolls%252f9zYbAIUesHQ%253d%252fdocs&$filter=protocol eq rntbd&$partitionKeyRangeIds=0","ResourceType":"Document","HttpMethod":"GET","ActivityId":"528c4f2a-9f7e-43c0-af83-190a6afa94d3","StatusCode":"OK"}]},"Point Operation Statistics":{"Id":"PointOperationStatistics","ActivityId":"528c4f2a-9f7e-43c0-af83-190a6afa94d3","ResponseTimeUtc":"2026-01-12T09:37:11.8967392Z","StatusCode":400,"SubStatusCode":0,"RequestCharge":1,"RequestUri":"dbs/vitallogsagis/colls/batchlog","ErrorMessage":"Microsoft.Azure.Documents.BadRequestException: Message: {\"errors\":[{\"severity\":\"Error\",\"location\":{\"start\":293,\"end\":304},\"code\":\"SC2001\",\"message\":\"Identifier 'materiallog' could not be resolved.\"}]}\r\nActivityId: 528c4f2a-9f7e-43c0-af83-190a6afa94d3, Request URI: /apps/229f0ff4-d44d-43b8-b520-aba9a15ba17c/services/83643ba6-1cfa-4bf8-a54d-6388a09d1d2e/partitions/6c5383c5-5614-4fc7-8ac1-43d7f8487969/replicas/133877193136073698p/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.37.5\r\n   at Microsoft.Azure.Documents.StoreResult.ToResponse(RequestChargeTracker requestChargeTracker)\r\n   at Microsoft.Azure.Documents.ConsistencyReader.<ReadSessionAsync>d__13.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Azure.Documents.BackoffRetryUtility`1.<ExecuteRetryAsync>d__6`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.ReplicatedResourceClient.<>c__DisplayClass32_0.<<InvokeAsync>b__0>d.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at Microsoft.Azure.Documents.ShouldRetryResult.ThrowIfDoneTrying(ExceptionDispatchInfo capturedException)\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at Microsoft.Azure.Documents.RequestRetryUtility.<ProcessRequestAsync>d__2`2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Documents.StoreClient.<ProcessMessageAsync>d__19.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<ProcessMessageAsync>d__3.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Microsoft.Azure.Cosmos.Handlers.TransportHandler.<SendAsync>d__2.MoveNext()","RequestSessionToken":null,"ResponseSessionToken":"0:-1#10666072","BELatencyInMs":"0.53"}}}]}]}]}]}]}]},{"name":"Get Cosmos Element Response","duration in milliseconds":0.7167}]}]}]}]},{"name":"Query Response Serialization","duration in milliseconds":0.0585}]}
