Hello, I have come across an error when trying to import products through a scheduled task, using DW 9.10.7, when I try to run the scheduled task it takes too long and gets a timeout from the BC API, when using the Dynamicweb Connector Test Tool 2.5.0 it works in less than 10 minutes. Could this be an issue with the DW version or what could be causing this difference in speed between the test tool and the actual DW task? The parameters for the XML request are the same both on the scheduled task and on Dynamicweb Connector Test Tool.
2023-01-23 18:30:04.776: Starting scheduled task.
2023-01-23 18:30:06.933: Request: <GetEcomData ReimportTable="true" SetCheckpointToNow="false" CustomModifier="FB"><tables><Products type="all" importProductProperties="true" setLanguage="DAN" /></tables></GetEcomData>.
2023-01-23 18:40:07.227: Response: An error occurred processing the request. Exception: The remote server returned an error: (504) Gateway Timeout. Response: Timeout Request timed out..
2023-01-23 18:40:07.227: String is not valid XML format: '{0}'.. System.Xml.XmlException: Data at the root level is invalid. Line 1, position 1. at System.Xml.XmlTextReaderImpl.Throw(Exception e) at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace() at System.Xml.XmlTextReaderImpl.ParseDocumentContent() at System.Xml.XmlLoader.Load(XmlDocument doc, XmlReader reader, Boolean preserveWhitespace) at System.Xml.XmlDocument.Load(XmlReader reader) at System.Xml.XmlDocument.LoadXml(String xml) at Dynamicweb.DataIntegration.ScheduledTaskAddIns.ImportDataWithPaging.ImportDataWithPagingScheduledTask.StringToXml(String xml)
2023-01-23 18:40:11.163: File: 'D:\dynamicweb.net\Solutions\S_DW_Fagerberg\Files\System\Log\DataIntegration\Import Products to XML (DAN)20230123-1830047901026.log' doesn't exists
2023-01-23 18:40:11.163: Xml returned from the web service: 'http://www.fagerberg.dk/fagerbergservice' is empty
2023-01-23 18:40:11.163: Scheduled task failed.