Closed jSylvestre closed 2 years ago
`<?xml version="1.0" encoding="utf-8"?> <Report Name="PaymentBatchDetailReport_Full" Type="PaymentBatchDetail" Version="1.11" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://api.cybersource.com/reporting/v3/xsds/BatchDetailReport" OrganizationID="ucd_payments" ReportStartDate="2022-08-16T07:00:00Z" ReportEndDate="2022-08-17T07:00:00Z">
`
{ "_index": "aspnet-sloth-2022.08", "_type": "_doc", "_id": "1bBkqoIBABiihAizSPFD", "_version": 1, "_score": 1, "_ignored": [ "exceptions.StackTraceString.keyword" ], "_source": { "@timestamp": "2022-08-17T06:01:14.7518960+00:00", "level": "Error", "messageTemplate": "There is an error in XML document (1, 1).", "message": "There is an error in XML document (1, 1).", "exceptions": [ { "Depth": 0, "ClassName": "System.InvalidOperationException", "Message": "There is an error in XML document (1, 1).", "Source": "System.Private.Xml", "StackTraceString": " at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)\r\n at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)\r\n at Sloth.Integrations.Cybersource.Clients.ReportClient.DeserializeReport[TReport](String xml) in D:\a\1\s\Sloth.Integrations.Cybersource\Clients\ReportClient.cs:line 165\r\n at Sloth.Integrations.Cybersource.Clients.ReportClient.GetOneTimePaymentBatchDetailReport(String reportName, DateTime date) in D:\a\1\s\Sloth.Integrations.Cybersource\Clients\ReportClient.cs:line 61\r\n at Sloth.Core.Services.CyberSourceBankReconcileService.ProcessIntegration(Integration integration, DateTime date, CybersourceBankReconcileJobRecord jobRecord, ILogger log) in D:\a\1\s\Sloth.Core\Services\CyberSourceBankReconcileService.cs:line 71\r\n at Sloth.Core.Jobs.CybersourceBankReconcileJob.ProcessReconcile(DateTime date, CybersourceBankReconcileJobRecord jobRecord, ILogger log)+MoveNext() in D:\a\1\s\Sloth.Core\Jobs\CybersourceBankReconcileJob.cs:line 62", "RemoteStackTraceString": null, "RemoteStackIndex": 0, "HResult": -2146233079, "HelpURL": null }, { "Depth": 1, "ClassName": "System.Xml.XmlException", "Message": "Data at the root level is invalid. Line 1, position 1.", "Source": "System.Private.Xml", "StackTraceString": " at System.Xml.XmlTextReaderImpl.Throw(Exception e)\r\n at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)\r\n at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()\r\n at System.Xml.XmlTextReaderImpl.ParseDocumentContent()\r\n at System.Xml.XmlTextReaderImpl.Read()\r\n at System.Xml.XmlTextReader.Read()\r\n at System.Xml.XmlReader.MoveToContent()\r\n at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReport.Read29_Report()", "RemoteStackTraceString": null, "RemoteStackIndex": 0, "HResult": -2146232000, "HelpURL": null } ], "fields": { "TeamName": "Payments", "date": "2022-08-16T00:00:00.0000000Z", "jobid": "ff25bc90-71bf-47fb-914e-e79edd7b3cc2", "jobname": "Cybersource.BankReconcile", "ExceptionDetail": { "Type": "System.InvalidOperationException", "HResult": -2146233079, "Message": "There is an error in XML document (1, 1).", "Source": "System.Private.Xml", "TargetSite": "System.Object Deserialize(System.Xml.XmlReader, System.String, System.Xml.Serialization.XmlDeserializationEvents)", "InnerException": { "HResult": -2146232000, "Message": "Data at the root level is invalid. Line 1, position 1.", "Source": "System.Private.Xml", "TargetSite": "Void Throw(System.Exception)", "LineNumber": 1, "LinePosition": 1, "SourceUri": "", "Type": "System.Xml.XmlException" } }, "Application": "Sloth.Jobs.CyberSource.BankReconcile", "AppEnvironment": "Test", "Source": "Sloth.Jobs" } }, "fields": { "fields.ExceptionDetail.InnerException.SourceUri": [ "" ], "fields.AppEnvironment.keyword": [ "Test" ], "exceptions.RemoteStackIndex": [ 0, 0 ], "exceptions.Message": [ "There is an error in XML document (1, 1).", "Data at the root level is invalid. Line 1, position 1." ], "fields.jobid.keyword": [ "ff25bc90-71bf-47fb-914e-e79edd7b3cc2" ], "fields.ExceptionDetail.InnerException.Type.keyword": [ "System.Xml.XmlException" ], "fields.jobname.keyword": [ "Cybersource.BankReconcile" ], "messageTemplate.keyword": [ "There is an error in XML document (1, 1)." ], "fields.ExceptionDetail.InnerException.SourceUri.keyword": [ "" ], "fields.Application": [ "Sloth.Jobs.CyberSource.BankReconcile" ], "fields.ExceptionDetail.TargetSite.keyword": [ "System.Object Deserialize(System.Xml.XmlReader, System.String, System.Xml.Serialization.XmlDeserializationEvents)" ], "fields.ExceptionDetail.Type.keyword": [ "System.InvalidOperationException" ], "exceptions.Depth": [ 0, 1 ], "level": [ "Error" ], "fields.TeamName.keyword": [ "Payments" ], "fields.AppEnvironment": [ "Test" ], "fields.ExceptionDetail.InnerException.Message": [ "Data at the root level is invalid. Line 1, position 1." ], "message.keyword": [ "There is an error in XML document (1, 1)." ], "fields.TeamName": [ "Payments" ], "fields.ExceptionDetail.Message.keyword": [ "There is an error in XML document (1, 1)." ], "fields.ExceptionDetail.InnerException.Message.keyword": [ "Data at the root level is invalid. Line 1, position 1." ], "fields.ExceptionDetail.InnerException.TargetSite": [ "Void Throw(System.Exception)" ], "fields.Application.keyword": [ "Sloth.Jobs.CyberSource.BankReconcile" ], "exceptions.Source.keyword": [ "System.Private.Xml", "System.Private.Xml" ], "fields.ExceptionDetail.TargetSite": [ "System.Object Deserialize(System.Xml.XmlReader, System.String, System.Xml.Serialization.XmlDeserializationEvents)" ], "exceptions.StackTraceString": [ " at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)\r\n at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)\r\n at Sloth.Integrations.Cybersource.Clients.ReportClient.DeserializeReport[TReport](String xml) in D:\a\1\s\Sloth.Integrations.Cybersource\Clients\ReportClient.cs:line 165\r\n at Sloth.Integrations.Cybersource.Clients.ReportClient.GetOneTimePaymentBatchDetailReport(String reportName, DateTime date) in D:\a\1\s\Sloth.Integrations.Cybersource\Clients\ReportClient.cs:line 61\r\n at Sloth.Core.Services.CyberSourceBankReconcileService.ProcessIntegration(Integration integration, DateTime date, CybersourceBankReconcileJobRecord jobRecord, ILogger log) in D:\a\1\s\Sloth.Core\Services\CyberSourceBankReconcileService.cs:line 71\r\n at Sloth.Core.Jobs.CybersourceBankReconcileJob.ProcessReconcile(DateTime date, CybersourceBankReconcileJobRecord jobRecord, ILogger log)+MoveNext() in D:\a\1\s\Sloth.Core\Jobs\CybersourceBankReconcileJob.cs:line 62", " at System.Xml.XmlTextReaderImpl.Throw(Exception e)\r\n at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)\r\n at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()\r\n at System.Xml.XmlTextReaderImpl.ParseDocumentContent()\r\n at System.Xml.XmlTextReaderImpl.Read()\r\n at System.Xml.XmlTextReader.Read()\r\n at System.Xml.XmlReader.MoveToContent()\r\n at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReport.Read29_Report()" ], "fields.ExceptionDetail.InnerException.HResult": [ -2146232000 ], "fields.ExceptionDetail.InnerException.Source.keyword": [ "System.Private.Xml" ], "fields.ExceptionDetail.InnerException.TargetSite.keyword": [ "Void Throw(System.Exception)" ], "exceptions.HResult": [ -2146233079, -2146232000 ], "fields.ExceptionDetail.Source": [ "System.Private.Xml" ], "fields.ExceptionDetail.Source.keyword": [ "System.Private.Xml" ], "exceptions.ClassName.keyword": [ "System.InvalidOperationException", "System.Xml.XmlException" ], "exceptions.ClassName": [ "System.InvalidOperationException", "System.Xml.XmlException" ], "fields.ExceptionDetail.InnerException.Type": [ "System.Xml.XmlException" ], "fields.ExceptionDetail.InnerException.LinePosition": [ 1 ], "fields.date": [ "2022-08-16T00:00:00.000Z" ], "exceptions.Message.keyword": [ "There is an error in XML document (1, 1).", "Data at the root level is invalid. Line 1, position 1." ], "fields.ExceptionDetail.HResult": [ -2146233079 ], "message": [ "There is an error in XML document (1, 1)." ], "fields.ExceptionDetail.Type": [ "System.InvalidOperationException" ], "fields.Source": [ "Sloth.Jobs" ], "@timestamp": [ "2022-08-17T06:01:14.751Z" ], "level.keyword": [ "Error" ], "fields.ExceptionDetail.InnerException.LineNumber": [ 1 ], "fields.jobname": [ "Cybersource.BankReconcile" ], "fields.jobid": [ "ff25bc90-71bf-47fb-914e-e79edd7b3cc2" ], "fields.Source.keyword": [ "Sloth.Jobs" ], "exceptions.Source": [ "System.Private.Xml", "System.Private.Xml" ], "fields.ExceptionDetail.InnerException.Source": [ "System.Private.Xml" ], "messageTemplate": [ "There is an error in XML document (1, 1)." ], "fields.ExceptionDetail.Message": [ "There is an error in XML document (1, 1)." ] }, "ignored_field_values": { "exceptions.StackTraceString.keyword": [ " at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)\r\n at System.Xml.Serialization.XmlSerializer.Deserialize(TextReader textReader)\r\n at Sloth.Integrations.Cybersource.Clients.ReportClient.DeserializeReport[TReport](String xml) in D:\a\1\s\Sloth.Integrations.Cybersource\Clients\ReportClient.cs:line 165\r\n at Sloth.Integrations.Cybersource.Clients.ReportClient.GetOneTimePaymentBatchDetailReport(String reportName, DateTime date) in D:\a\1\s\Sloth.Integrations.Cybersource\Clients\ReportClient.cs:line 61\r\n at Sloth.Core.Services.CyberSourceBankReconcileService.ProcessIntegration(Integration integration, DateTime date, CybersourceBankReconcileJobRecord jobRecord, ILogger log) in D:\a\1\s\Sloth.Core\Services\CyberSourceBankReconcileService.cs:line 71\r\n at Sloth.Core.Jobs.CybersourceBankReconcileJob.ProcessReconcile(DateTime date, CybersourceBankReconcileJobRecord jobRecord, ILogger log)+MoveNext() in D:\a\1\s\Sloth.Core\Jobs\CybersourceBankReconcileJob.cs:line 62", " at System.Xml.XmlTextReaderImpl.Throw(Exception e)\r\n at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)\r\n at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()\r\n at System.Xml.XmlTextReaderImpl.ParseDocumentContent()\r\n at System.Xml.XmlTextReaderImpl.Read()\r\n at System.Xml.XmlTextReader.Read()\r\n at System.Xml.XmlReader.MoveToContent()\r\n at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReaderReport.Read29_Report()" ] } }