# Gmail keeps giving "File Name: Value must not be empty" and "Data: Value must not be empty" errors

**URL:** <https://community.make.com/t/gmail-keeps-giving-file-name-value-must-not-be-empty-and-data-value-must-not-be-empty-errors/109439>\
**Category:** Questions\
**Tags:** error, ai\
**Created:** [May 25, 2026, 3:09pm UTC](https://community.make.com/t/gmail-keeps-giving-file-name-value-must-not-be-empty-and-data-value-must-not-be-empty-errors/109439 "2026-05-25T15:09:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Verse](https://avatars.discourse-cdn.com/v4/letter/v/f17d59/32.png) [@Verse](https://community.make.com/u/Verse)\
**Post date:** [May 25, 2026, 3:09pm UTC](https://community.make.com/t/gmail-keeps-giving-file-name-value-must-not-be-empty-and-data-value-must-not-be-empty-errors/109439/1 "2026-05-25T15:09:38Z")

</div>

### 🎯 What is your goal?

I’m facing an issue in [Make.com](http://Make.com) with Gmail attachments and embedded images.

Workflow summary:

A strategic report is generated successfully as a PDF  
The PDF is downloaded/exported correctly from Google Drive  
The PDF is then analyzed by AI to generate a custom outreach email  
Gmail module then sends:  
custom email body  
one embedded PNG image/signature  
one attached PDF report  
recipient email from Google Sheets

### 🤔 What is the problem & what have you tried?

Issue:  
Gmail keeps throwing:

“File name: Value must not be empty”  
“Data: Value must not be empty”

Important details:

PDF export/download is working correctly  
PNG image download is also working correctly  
PDF binary starts with %PDF  
PNG binary starts with 89 50 4E 47  
I tested using:  
only PNG  
only PDF  
both together  
Same error appears in all cases  
Tried static filename values as well  
Gmail body type selected:  
“Text, files and images”  
not raw HTML

The issue seems to happen specifically when downloaded binary files are passed into Gmail as:

embedded image  
attachment

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/4/e/4ed5037a88c15c946eb295bdb202237de3530dfb.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/c/0/c013467fb88642f9c540858c772ef763d5df554a.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/d/4/d40347062b572d0d298db9daf5ec512a74cb827a.png)

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/7/d/7dd0814f41d790843a4048e3716fc4c4bd55dd54.png)

---

<div class="post-metadata">

**Author:** ![Stoyan\_Vatov](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@Stoyan\_Vatov](https://community.make.com/u/Stoyan_Vatov)\
**Post date:** [May 26, 2026, 9:22am UTC](https://community.make.com/t/gmail-keeps-giving-file-name-value-must-not-be-empty-and-data-value-must-not-be-empty-errors/109439/3 "2026-05-26T09:22:43Z")

</div>

Hey there,

your last screenshot shows only the download module was ran manually. Can you show some screenshots from the scenario history and check the the input data of the Gmail module?

---

<div class="post-metadata">

**Author:** ![Verse](https://avatars.discourse-cdn.com/v4/letter/v/f17d59/32.png) [@Verse](https://community.make.com/u/Verse)\
**Post date:** [May 26, 2026, 11:18am UTC](https://community.make.com/t/gmail-keeps-giving-file-name-value-must-not-be-empty-and-data-value-must-not-be-empty-errors/109439/4 "2026-05-26T11:18:02Z")

</div>

To get the input data from Gmail, I need to run it, but it cannot run until the error is there

---

<div class="post-metadata">

**Author:** ![Verse](https://avatars.discourse-cdn.com/v4/letter/v/f17d59/32.png) [@Verse](https://community.make.com/u/Verse)\
**Post date:** [May 26, 2026, 11:19am UTC](https://community.make.com/t/gmail-keeps-giving-file-name-value-must-not-be-empty-and-data-value-must-not-be-empty-errors/109439/5 "2026-05-26T11:19:04Z")

</div>

Without Gmail, everything is running just fine

 ![image](https://europe1.discourse-cdn.com/flex013/uploads/make/original/3X/7/f/7f15bee4d83a8eb99462abe3b5a5ed1619fde60f.png)

---

<div class="post-metadata">

**Author:** ![Stoyan\_Vatov](https://avatars.discourse-cdn.com/v4/letter/s/5daacb/32.png) [@Stoyan\_Vatov](https://community.make.com/u/Stoyan_Vatov)\
**Post date:** [May 26, 2026, 11:28am UTC](https://community.make.com/t/gmail-keeps-giving-file-name-value-must-not-be-empty-and-data-value-must-not-be-empty-errors/109439/6 "2026-05-26T11:28:59Z")

</div>

Can you try mapping the file manually? Change the toggle to Map instead of Google Drive or Docs.

---

<div class="post-metadata">

**Author:** ![Verse](https://avatars.discourse-cdn.com/v4/letter/v/f17d59/32.png) [@Verse](https://community.make.com/u/Verse)\
**Post date:** [May 26, 2026, 12:42pm UTC](https://community.make.com/t/gmail-keeps-giving-file-name-value-must-not-be-empty-and-data-value-must-not-be-empty-errors/109439/7 "2026-05-26T12:42:47Z")

</div>

I re-authorised, deleted the old module and made another one. It is working now. Thanks though ❤

---

<div class="post-metadata">

**Author:** ![Make\_Bot](https://dub1.discourse-cdn.com/flex013/user_avatar/community.make.com/make_bot/32/14661_2.png) [@Make\_Bot](https://community.make.com/u/Make_Bot)\
**Post date:** [August 24, 2026, 12:48pm UTC](https://community.make.com/t/gmail-keeps-giving-file-name-value-must-not-be-empty-and-data-value-must-not-be-empty-errors/109439/8 "2026-08-24T12:48:10Z")

</div>


