Skip to main content

Hi community !

I’ve a problem with the last step of my Zap. The error message is “'NoneType' object has no attribute 'get'”.

The Zap does the following things :

  1. First, it checks when a new file is saved in a “bills” folder in my Google Drive
  2. It extracts the name of the company from the file name
  3. It creates an Evernote note with the company as a tag
  4. It extracts the date of the bill from the file name
  5. It searches for a sub-directory in Google Drive that matches the date of the file, with the YYYY-MM pattern. If the sub-directory doesn’t exists, it creates it.
  6. It moves the file to that sub-directory. This step doesn’t work.

The parameters under “customize file” section for that last step are :

FILE : 1.File : Exists but not shown

FOLDER : 5.Title : 2020-03

Any idea about what’s going wrong ?

Thanks !

Hi @Thibaut 

Can you show us a screenshot of the error and how the zap steps are setup.


Hi @AndrewJDavison_Luhhu , here you are :

 

 

 

 

 

Are these pieces of information helpful ?

Thank you for your help,

Best regards,

Thibaut


Same issue here - trying Box too and getting similar results.


Hi @Thibaut I’m sorry for the delay in getting back to you on this! 

 

The reason for the error here is that Google Drive is expecting the ID of a file rather than the file object. If you try adding the ID of the file (that you should have from the previous step) then Google Drive will know which file you’re referring to and will be able to move it. 

 

@manattweb if you’re getting the same error, could you try the same thing? If that doesn’t work it will probably be best to contact the Support Team to take a look at your Zap, you can do that using the contact form: https://zapier.com/app/contact-us


Hi @Danvers ,

This perfectly works now !

Thank you !