diff --git a/AdobeStockAsset/Model/GetAssetList.php b/AdobeStockAsset/Model/GetAssetList.php
index 248472442eca..9c1e09c91ac2 100644
--- a/AdobeStockAsset/Model/GetAssetList.php
+++ b/AdobeStockAsset/Model/GetAssetList.php
@@ -74,7 +74,7 @@ public function execute(SearchCriteriaInterface $searchCriteria): SearchResultIn
} catch (AuthenticationException $exception) {
throw new LocalizedException(
__(
- 'Failed to authenticate to Adobe Stock API. Please correct the API credentials in '
+ 'Failed to authenticate to Adobe Stock API.
Please correct the API credentials in '
. 'Configuration → System → Adobe Stock Integration.',
$this->url->getUrl('adminhtml/system_config/edit/section/system')
)
diff --git a/AdobeStockImageAdminUi/Model/Listing/DataProvider.php b/AdobeStockImageAdminUi/Model/Listing/DataProvider.php
index b7c2b824e4ba..c2b1900591b5 100644
--- a/AdobeStockImageAdminUi/Model/Listing/DataProvider.php
+++ b/AdobeStockImageAdminUi/Model/Listing/DataProvider.php
@@ -28,16 +28,16 @@ class DataProvider extends \Magento\Framework\View\Element\UiComponent\DataProvi
/**
* DataProvider constructor.
- * @param string $name
- * @param string $primaryFieldName
- * @param string $requestFieldName
- * @param ReportingInterface $reporting
+ * @param string $name
+ * @param string $primaryFieldName
+ * @param string $requestFieldName
+ * @param ReportingInterface $reporting
* @param SearchCriteriaBuilder $searchCriteriaBuilder
- * @param RequestInterface $request
- * @param FilterBuilder $filterBuilder
+ * @param RequestInterface $request
+ * @param FilterBuilder $filterBuilder
* @param GetImageListInterface $getImageList
- * @param array $meta
- * @param array $data
+ * @param array $meta
+ * @param array $data
*/
public function __construct(
string $name,
@@ -67,8 +67,22 @@ public function __construct(
/**
* @inheritdoc
- *
- * @throws LocalizedException
+ */
+ public function getData()
+ {
+ try {
+ return $this->searchResultToOutput($this->getSearchResult());
+ } catch (LocalizedException $exception) {
+ return [
+ 'items' => [],
+ 'totalRecords' => 0,
+ 'errorMessage' => $exception->getMessage()
+ ];
+ }
+ }
+
+ /**
+ * @inheritdoc
*/
public function getSearchResult(): SearchResultInterface
{
diff --git a/AdobeStockImageAdminUi/Test/Mftf/ActionGroup/AdminOpenMediaGalleryForPageNoEditorActionGroup.xml b/AdobeStockImageAdminUi/Test/Mftf/ActionGroup/AdminOpenMediaGalleryForPageNoEditorActionGroup.xml
index a577963c973a..efc8ccfb2625 100644
--- a/AdobeStockImageAdminUi/Test/Mftf/ActionGroup/AdminOpenMediaGalleryForPageNoEditorActionGroup.xml
+++ b/AdobeStockImageAdminUi/Test/Mftf/ActionGroup/AdminOpenMediaGalleryForPageNoEditorActionGroup.xml
@@ -14,7 +14,7 @@