Sync all product data to Magento NS

The job is finished. It will be removed automatically 1/1/0001 12:00:00 AM.
// Id: #875582
using KA_scheduler.Services;

var jobService = Activate<JobService>();
await jobService.TriggerRequest(
    null,
    "Sync all product data to Magento NS",
    "https://mainapi.karasmussen.vpstage.no/api/sync?incrementalSync=true",
    FromJson<HttpMethod>("{\"Method\":\"GET\"}"),
    null,
    "NS");

Parameters

CurrentCulture
"en-US"
CurrentUICulture
"en-US"
RecurringJobId
"MagentoSyncNS"
Time
1788244810

State

9/1/2026 6:53:01 AM (+12m 50.093s) Failed

An exception occurred during performance of the job.

System.Net.Http.HttpRequestException (40aee08e-3043-4bf8-b9ae-ae3800fca0fd)

Request to https://mainapi.karasmussen.vpstage.no/api/sync?incrementalSync=true failed: 500 Internal Server Error

System.Net.Http.HttpRequestException: Request to https://mainapi.karasmussen.vpstage.no/api/sync?incrementalSync=true failed: 500 Internal Server Error
   at KA_scheduler.Services.JobService.TriggerRequest(PerformContext consoleContext, String name, String url, HttpMethod method, String payload, String storeCode) in /buddy/dotnet-scheduler/Services/JobService.cs:line 178
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

+473ms Processing

Server:
40aee08e-3043-4bf8-b9ae-ae3800fca0fd
Worker:
15d858b6
+153msGetting token for 143e853b-49e7-4f77-b548-7809674624ce, authUrl https://1ei6y3a3n2.execute-api.eu-north-1.amazonaws.com/Jwt
+483msPayload: (empty)
+12m 50.068sRequest failed: 500 Internal Server Error URL: https://mainapi.karasmussen.vpstage.no/api/sync?incrementalSync=true Body: { "message": "SQLSTATE[HY000] [2002] No such file or directory", "code": 2002, "trace": "#0 /home/karasmussen/test/magento/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect()\n#1 /home/karasmussen/test/magento/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Mysql->_connect()\n#2 /home/karasmussen/test/magento/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\\Framework\\DB\\Adapter\\Pdo\\Mysql->_connect()\n#3 /home/karasmussen/test/magento/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(932): Zend_Db_Adapter_Abstract->quote()\n#4 /home/karasmussen/test/magento/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1537): Zend_Db_Adapter_Abstract->quoteInto()\n#5 /home/karasmussen/test/magento/vendor/magento/zendframework1/library/Zend/Db/Select.php(1031): Magento\\Framework\\DB\\Adapter\\Pdo\\Mysql->quoteInto()\n#6 /home/karasmussen/test/magento/vendor/magento/zendframework1/library/Zend/Db/Select.php(496): Zend_Db_Select->_where()\n#7 /home/karasmussen/test/magento/vendor/magento/framework/DB/Select.php(127): Zend_Db_Select->where()\n#8 /home/karasmussen/test/magento/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php(361): Magento\\Framework\\DB\\Select->where()\n#9 /home/karasmussen/test/magento/vendor/magento/framework/Model/ResourceModel/Db/AbstractDb.php(332): Magento\\Framework\\Model\\ResourceModel\\Db\\AbstractDb->_getLoadSelect()\n#10 /home/karasmussen/test/magento/vendor/magento/framework/Model/AbstractModel.php(543): Magento\\Framework\\Model\\ResourceModel\\Db\\AbstractDb->load()\n#11 /home/karasmussen/test/magento/vendor/magento/module-indexer/Model/Indexer/State.php(151): Magento\\Framework\\Model\\AbstractModel->load()\n#12 /home/karasmussen/test/magento/vendor/magento/module-indexer/Model/Indexer.php(272): Magento\\Indexer\\Model\\Indexer\\State->loadByIndexer()\n#13 /home/karasmussen/test/magento/vendor/magento/module-indexer/Model/Indexer.php(322): Magento\\Indexer\\Model\\Indexer->getState()\n#14 /home/karasmussen/test/magento/vendor/magento/module-indexer/Model/Indexer/DependencyDecorator.php(209): Magento\\Indexer\\Model\\Indexer->isValid()\n#15 /home/karasmussen/test/magento/app/code/Vangenplotz/DataSync/Model/SyncManagement.php(330): Magento\\Indexer\\Model\\Indexer\\DependencyDecorator->isValid()\n#16 [internal function]: Vangenplotz\\DataSync\\Model\\SyncManagement->sync()\n#17 /home/karasmussen/test/magento/vendor/magento/module-webapi/Controller/Rest/SynchronousRequestProcessor.php(95): call_user_func_array()\n#18 /home/karasmussen/test/magento/vendor/magento/module-webapi/Controller/Rest.php(195): Magento\\Webapi\\Controller\\Rest\\SynchronousRequestProcessor->process()\n#19 /home/karasmussen/test/magento/vendor/magento/framework/Interception/Interceptor.php(58): Magento\\Webapi\\Controller\\Rest->dispatch()\n#20 /home/karasmussen/test/magento/vendor/magento/framework/Interception/Interceptor.php(138): Magento\\Webapi\\Controller\\Rest\\Interceptor->___callParent()\n#21 /home/karasmussen/test/magento/vendor/vladflonta/magento2-webapi-log/Plugin/Rest/Api.php(70): Magento\\Webapi\\Controller\\Rest\\Interceptor->Magento\\Framework\\Interception\\{closure}()\n#22 /home/karasmussen/test/magento/vendor/magento/framework/Interception/Interceptor.php(135): VladFlonta\\WebApiLog\\Plugin\\Rest\\Api->aroundDispatch()\n#23 /home/karasmussen/test/magento/vendor/magento/framework/Interception/Interceptor.php(153): Magento\\Webapi\\Controller\\Rest\\Interceptor->Magento\\Framework\\Interception\\{closure}()\n#24 /home/karasmussen/test/magento/generated/code/Magento/Webapi/Controller/Rest/Interceptor.php(23): Magento\\Webapi\\Controller\\Rest\\Interceptor->___callPlugins()\n#25 /home/karasmussen/test/magento/vendor/magento/framework/App/Http.php(116): Magento\\Webapi\\Controller\\Rest\\Interceptor->dispatch()\n#26 /home/karasmussen/test/magento/vendor/magento/framework/App/Bootstrap.php(264): Magento\\Framework\\App\\Http->launch()\n#27 /home/karasmussen/test/magento/pub/index.php(30): Magento\\Framework\\App\\Bootstrap->run()\n#28 {main}" }

+90ms Enqueued

Triggered using recurring job manager

9/1/2026 6:40:10 AM Created