diff --git a/app/workers/import_worker.rb b/app/workers/import_worker.rb
index 7cf29fb53c58d8db5f98b9693aa767856aad9f4c..d5a33cada3ccb9a96d9a4094671551a0784a5897 100644
--- a/app/workers/import_worker.rb
+++ b/app/workers/import_worker.rb
@@ -46,7 +46,7 @@ class ImportWorker
 
       begin
         FollowService.new.call(from_account, row[0])
-      rescue Goldfinger::Error, HTTP::Error, OpenSSL::SSL::SSLError
+      rescue Mastodon::NotPermittedError, ActiveRecord::RecordNotFound, Goldfinger::Error, HTTP::Error, OpenSSL::SSL::SSLError
         next
       end
     end