Question Cannot read property 'body' of undefined

  • 18 September 2023
  • 7 replies

Hello! I am trying to set up an automation in which every time I receive an attachment to my Gmail, I create a new thing on


The step is very simple, since the type we are creating is just of file, so basically, just passing the attachment that we’ve just received on our email to Bubble, however, I keep getting this error: 

Failed to create a thing in Bubble

Cannot read property 'body' of undefined


Any idea why this might be happening? No privacy rules in Bubble and API connection is enabled.


7 replies

Userlevel 7
Badge +14

Hi @Djan Cano 

Good question.

To help us have enough context, please post detailed screenshots with how your Zap steps are configured.

Of course Troy! Please let me know if these are enough. I’ve added them as attached files.


Userlevel 7
Badge +14

@Djan Cano 

Can you show screenshots from the Zap Runs of the DATA IN/OUT for each Zap step?

I don't have any, is this because it is still on Testing? I mean, the zap has not been published and I am just running tests to see if it works.


Userlevel 7
Badge +14

@Djan Cano 

Make sure to use fresh data from the Zap trigger as the attachment files objects are temporary and expire.

Change Zap trigger data:

I resent the email just now and it is not working either, as you can see it is from minutos ago. Does the file itself have an expiry too? 


@Djan Cano do you did resolve ?