diff --git a/lib/zendesk_api/resources/misc.rb b/lib/zendesk_api/resources/misc.rb
index <HASH>..<HASH> 100644
--- a/lib/zendesk_api/resources/misc.rb
+++ b/lib/zendesk_api/resources/misc.rb
@@ -34,7 +34,7 @@ module ZendeskAPI
     end
 
     def save
-      upload = Upload.create!(@client, :file => file)
+      upload = Upload.create!(@client, attributes)
       self.token = upload.token
     end
allow passing of filename to Upload from Attachment