diff --git a/src/Normalizer/EntityReferenceFieldNormalizer.php b/src/Normalizer/EntityReferenceFieldNormalizer.php
index 61e9413..3c15841 100644
--- a/src/Normalizer/EntityReferenceFieldNormalizer.php
+++ b/src/Normalizer/EntityReferenceFieldNormalizer.php
@@ -133,14 +133,15 @@ class EntityReferenceFieldNormalizer extends FieldNormalizer implements Denormal
       $entity_list_metadata[] = $metadata;
 
       // Get the referenced entity.
-      $entity = $item->get('entity')->getValue();
+      if ($entity = $item->get('entity')->getValue()) {
 
-      if ($this->isInternalResourceType($entity)) {
-        continue;
-      }
+        if ($this->isInternalResourceType($entity)) {
+          continue;
+        }
 
-      // And get the translation in the requested language.
-      $entity_list[] = $this->entityRepository->getTranslationFromContext($entity);
+        // And get the translation in the requested language.
+        $entity_list[] = $this->entityRepository->getTranslationFromContext($entity);
+      }
     }
     $entity_collection = new EntityCollection($entity_list);
     $relationship = new Relationship($this->resourceTypeRepository, $field->getName(), $entity_collection, $field->getEntity(), $field_access, $cardinality, $main_property, $entity_list_metadata);

