diff --git a/ImportExport/Strategy/StrategyValidationTrait.php b/ImportExport/Strategy/StrategyValidationTrait.php
index ecba84b3..37993e9f 100644
--- a/ImportExport/Strategy/StrategyValidationTrait.php
+++ b/ImportExport/Strategy/StrategyValidationTrait.php
@@ -72,7 +72,7 @@ protected function processValidationErrors($entity, array $validationErrors)
                     [
                         '%error%' => $validationError,
                         '%item%' => json_encode(
-                            $context->getValue('rawItemData'),
+                            $this->context->getValue('rawItemData'),
                             \JSON_UNESCAPED_SLASHES | \JSON_UNESCAPED_UNICODE
                         ),
                     ]
@@ -117,7 +117,7 @@ protected function validateBeforeProcess($entity)
                         [
                             '%error%' => $validationError,
                             '%item%' => json_encode(
-                                $context->getValue('rawItemData'),
+                                $this->context->getValue('rawItemData'),
                                 \JSON_UNESCAPED_SLASHES | \JSON_UNESCAPED_UNICODE
                             ),
                         ]