Search Engine: Elastic

Article ID: 131728, created on Nov 6, 2017, last review on Nov 6, 2017

  • Applies to:
  • Business Automation

Symptoms

Store synchronization fails with error message:

Synchronization failed with error:
Provided username and password to access BA XML-RPC API are invalid.

#0 /usr/local/bm/templatestore/module/Core/src/Core/Action/Action/SynchronizeAction.php(62): Core\Action\Action\SynchronizeAction->prepareCredentials()
#1 /usr/local/bm/templatestore/module/Core/src/Core/Controller/ActionController.php(29): Core\Action\Action\SynchronizeAction->process()
#2 /usr/local/bm/templatestore/vendor/zendframework/zend-mvc/src/Controller/AbstractActionController.php(83): Core\Controller\ActionController->syncAction()
#3 /usr/local/bm/templatestore/module/Core/src/Core/Controller/AbstractController.php(36): Zend\Mvc\Controller\AbstractActionController->onDispatch(Object(Zend\Mvc\MvcEvent))
#4 [internal function]: Core\Controller\AbstractController->onDispatch(Object(Zend\Mvc\MvcEvent))
#5 /usr/local/bm/templatestore/vendor/zendframework/zend-eventmanager/src/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#6 /usr/local/bm/templatestore/vendor/zendframework/zend-eventmanager/src/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#7 /usr/local/bm/templatestore/vendor/zendframework/zend-mvc/src/Controller/AbstractController.php(117): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#8 /usr/local/bm/templatestore/vendor/zendframework/zend-mvc/src/DispatchListener.php(114): Zend\Mvc\Controller\AbstractController->dispatch(Object(Zend\Http\PhpEnvironment\Request), Object(Zend\Http\PhpEnvironment\Response))
#9 [internal function]: Zend\Mvc\DispatchListener->onDispatch(Object(Zend\Mvc\MvcEvent))
#10 /usr/local/bm/templatestore/vendor/zendframework/zend-eventmanager/src/EventManager.php(468): call_user_func(Array, Object(Zend\Mvc\MvcEvent))
#11 /usr/local/bm/templatestore/vendor/zendframework/zend-eventmanager/src/EventManager.php(207): Zend\EventManager\EventManager->triggerListeners('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#12 /usr/local/bm/templatestore/vendor/zendframework/zend-mvc/src/Application.php(309): Zend\EventManager\EventManager->trigger('dispatch', Object(Zend\Mvc\MvcEvent), Object(Closure))
#13 /usr/local/bm/templatestore/src/Application.php(62): Zend\Mvc\Application->run()
#14 /usr/local/bm/templatestore/webroot/index.php(12): Application->run()
#15 {main}.

Cause

The store you are trying to synchronize is marked as Not Active.

Resolution

Activate store: Home > Products > Online Store > Switch Store > choose required store > Activate

There is a request with id #PBA-82526 ("Not clear error message on attempt to sync non-active store") to make an error message more user-friendly.

198398b282069eaf2d94a6af87dcb3ff caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF