diff --git a/src/lib/API/ContentData/FieldTypeData/SelectionDataProvider.php b/src/lib/API/ContentData/FieldTypeData/SelectionDataProvider.php
index <HASH>..<HASH> 100644
--- a/src/lib/API/ContentData/FieldTypeData/SelectionDataProvider.php
+++ b/src/lib/API/ContentData/FieldTypeData/SelectionDataProvider.php
@@ -31,6 +31,9 @@ class SelectionDataProvider implements FieldTypeDataProviderInterface
 
         $isMultiple = $fieldSettings['isMultiple'];
         $availableOptions = $fieldSettings['options'];
+        if (empty($availableOptions)) {
+            return new Value();
+        }
 
         $numberOfOptionsToPick = $isMultiple ? random_int(1, count($availableOptions)) : 1;
         $randomOptionIndices = array_rand(range(0, count($availableOptions) - 1), $numberOfOptionsToPick);
IBX-<I> handled the case when there are no options for selection