cancel
Showing results for 
Search instead for 
Did you mean: 

Error Element 'language': Character content other than whitespace is not allowed because the content

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

Error Element 'language': Character content other than whitespace is not allowed because the content

Gents, while I am trying to upload a product throught REST, I received the following error. Any idea? I am using mangento 2.0.2.

 

Thanks!

 

Element 'language': Character content other than whitespace is not allowed because the content type is 'element-only'.
Line: 2

Element 'vendor': This element is not expected. Expected is ( code ).
Line: 4

#0 /home/feriaganaderacom/public_html/vendor/magento/framework/Config/Dom.php(109): Magento\Framework\Config\Dom->_initDom('<?xml version="...')
#1 /home/feriaganaderacom/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(107): Magento\Framework\Config\Dom->__construct('<?xml version="...', Object(Magento\Framework\App\Arguments\ValidationState), Array, NULL, '/home/feriagana...', '%message%\nLine:...')
#2 /home/feriaganaderacom/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(89): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array)
#3 /home/feriaganaderacom/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...', Array)
#4 /home/feriaganaderacom/public_html/vendor/magento/framework/Config/DomFactory.php(41): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array)
#5 /home/feriaganaderacom/public_html/vendor/magento/framework/App/Language/Config.php(46): Magento\Framework\Config\DomFactory->createDom(Array)
#6 /home/feriaganaderacom/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(101): Magento\Framework\App\Language\Config->__construct('<?xml version="...', Object(Magento\Framework\Config\Dom\UrnResolver), Object(Magento\Framework\Config\DomFactory))
#7 /home/feriaganaderacom/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(89): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array)
#8 /home/feriaganaderacom/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(57): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...', Array)
#9 /home/feriaganaderacom/public_html/vendor/magento/framework/App/Language/ConfigFactory.php(36): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array)
#10 /home/feriaganaderacom/public_html/vendor/magento/framework/App/Language/Dictionary.php(80): Magento\Framework\App\Language\ConfigFactory->create(Array)
#11 /home/feriaganaderacom/public_html/vendor/magento/framework/Translate.php(323): Magento\Framework\App\Language\Dictionary->getDictionary('en_US')
#12 /home/feriaganaderacom/public_html/vendor/magento/framework/Translate.php(181): Magento\Framework\Translate->_loadPackTranslation()
#13 /home/feriaganaderacom/public_html/vendor/magento/framework/App/Area.php(240): Magento\Framework\Translate->loadData(NULL, false)
#14 /home/feriaganaderacom/public_html/vendor/magento/framework/App/Area.php(211): Magento\Framework\App\Area->_initTranslate()
#15 /home/feriaganaderacom/public_html/vendor/magento/framework/App/Area.php(138): Magento\Framework\App\Area->_loadPart('translate')
#16 /home/feriaganaderacom/public_html/vendor/magento/module-webapi/Controller/Rest.php(155): Magento\Framework\App\Area->load('translate')
#17 /home/feriaganaderacom/public_html/var/generation/Magento/Webapi/Controller/Rest/Interceptor.php(24): Magento\Webapi\Controller\Rest->dispatch(Object(Magento\Framework\App\Request\Http))
#18 /home/feriaganaderacom/public_html/vendor/magento/framework/App/Http.php(115): Magento\Webapi\Controller\Rest\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
#19 /home/feriaganaderacom/public_html/vendor/magento/framework/App/Bootstrap.php(258): Magento\Framework\App\Http->launch()
#20 /home/feriaganaderacom/public_html/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http))
#21 {main}