Can anyone tell me what is happening here? Unable add item to catalogue from webUI and source code.
Originally this service can function normally, but cannot carry on catalogueService.AddItem() in the last few days;
In addition, I use the App42 Management Console WEB UI for the add item operation, also can not normal new items !
If anyone can help me, thank you.
Catalogue catalogue = catalogueService.GetItemById(catalogueName, categoryName, sku);
if (blnAddProduct)
{
try
{
ItemData itemData = new ItemData();
itemData.SetItemId(sku);
itemData.SetName(sku);
itemData.SetPrice(Convert.ToDouble(price));
itemData.SetDescription("ModifyTime:" + DateTime.Now.ToString("yyyy/MM/dd HH:mm"));
itemData.SetImage(defaultImagePath);
Catalogue catalogue = catalogueService.AddItem(catalogueName, categoryName, itemData);
blnResult = catalogue.IsResponseSuccess();
}
catch (Exception e)
{
blnResult = false;
}
}
return blnResult;

