Incomplete meta for binary downloaded via Google Drive node

Hello! I am using the Google Drive node to find and download binary that should get attached to the email sent in the next step. However, the binary fetched has missing meta such as “File Name” and “File Extension”. The email attachment being sent is devoid of its original file name and extension. The recipient receives an “unknown” attachment.

This can be verified and compared using the examples below:

Problematic Google Drive fetched binary has only the “Mime Type”:

Working binary having “File Extension,”, “File Name” and “Mime Type”. The following example is the same as provided by Jan:

Here are the comparative images:
image

Emails with attachments:

Is this a limitation with Google Drive itself or am I doing something wrong here?

That is sadly a limitation of the Google API, as it does not return that information. The only thing we could do is to make a second API request which queries that information via a different endpoint and then attach that data.

Ok, I was able to get it to work by adding the “File Name” for it under Options.

1 Like

Great to hear that you found something that works for you.

Have fun!

1 Like