Error on product update via API
-
12-12-2019 - |
Question
We are getting the following error on updating products via the Magento API.
Error message
Uncaught Exception: Uncaught exception 'Exception' with message 'Serialization of 'Mage_Core_Model_Config_Element' is not allowed' in app/code/core/Mage/Core/Model/Resource/Session.php:97
I have cleared all session data and even turned off cron, but the issue still happens. I have profiled the normal product save and have not found any issues.
EDIT: Problem is happening only on update and appears to be related to an attribute. We are trying to debug this
Solution
The problem was a product with data in an attribute that was not escaped correctly in the Insync module. The client updated the data and now things are working correctly.
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange