diff --git a/src/Plugin/video/Provider/Vimeo.php b/src/Plugin/video/Provider/Vimeo.php
index d37a2a6..9d074de 100644
--- a/src/Plugin/video/Provider/Vimeo.php
+++ b/src/Plugin/video/Provider/Vimeo.php
@@ -44,6 +44,9 @@ class Vimeo extends ProviderPluginBase {
   public function getRemoteThumbnailUrl() {
     $data = $this->getVideoMetadata();
     $video_data = json_decode(file_get_contents('http://vimeo.com/api/v2/video/' . $data['id'] . '.json'));
-    return $video_data[0]->thumbnail_large;
+    if (is_object($video_data[0])) {
+      return $video_data[0]->thumbnail_large;
+    }
+    return FALSE;
   }
 }
diff --git a/src/Plugin/video/Provider/YouTube.php b/src/Plugin/video/Provider/YouTube.php
index 0d33a70..b037040 100644
--- a/src/Plugin/video/Provider/YouTube.php
+++ b/src/Plugin/video/Provider/YouTube.php
@@ -66,5 +66,6 @@ class YouTube extends ProviderPluginBase {
         continue;
       }
     }
+    return FALSE;
   }
 }
diff --git a/src/ProviderPluginBase.php b/src/ProviderPluginBase.php
index c67ec73..0362cc9 100644
--- a/src/ProviderPluginBase.php
+++ b/src/ProviderPluginBase.php
@@ -122,8 +122,11 @@ abstract class ProviderPluginBase implements ProviderPluginInterface, ContainerF
     if (!file_exists($local_uri)) {
       $thumb_dir = $this->getUploadLocation();
       file_prepare_directory($thumb_dir, FILE_CREATE_DIRECTORY);
-      $thumbnail = $this->httpClient->request('GET', $this->getRemoteThumbnailUrl());
-      file_unmanaged_save_data((string) $thumbnail->getBody(), $local_uri);
+      $remote_url = $this->getRemoteThumbnailUrl();
+      if ($remote_url) {
+        $thumbnail = $this->httpClient->request('GET', $this->getRemoteThumbnailUrl());
+        file_unmanaged_save_data((string) $thumbnail->getBody(), $local_uri);
+      }
     }
   }
   
