diff --git a/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php b/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php
index 5b28caef8632799792e536a6532ab3bfe7037204..3781a3695010ff32c2f1d353a61208b3ab85f590 100644
--- a/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php
+++ b/typo3/sysext/backend/Classes/Tree/Pagetree/ExtdirectTreeCommands.php
@@ -42,7 +42,7 @@ class ExtdirectTreeCommands
         } catch (\Exception $exception) {
             $returnValue = [
                 'success' => false,
-                'error' => $exception->getMessage()
+                'message' => $exception->getMessage()
             ];
         }
         return $returnValue;